Algorithms and data structures
Data structures decide what is cheap and what is expensive. Algorithms are the moves those structures make possible. This course covers the ones that come up in real work and in interviews.
What you'll learn
10 chapters, then the quiz
- 01Why structure mattersThe same data, very different costs.
- 02Arrays and listsThe two sequences.
- 03Stacks and queuesOrder of service.
- 04Hash maps and setsThe structure to reach for first.
- 05TreesOrder with fast lookup.
- 06GraphsThings and the connections between them.
- 07Sorting and searchingThe classics, and when to write one.
- 08RecursionSolving a problem with smaller copies of itself.
- 09Algorithm strategiesGreedy, divide and conquer, dynamic programming.
- 10In practiceWhat this is actually for.
More programming tests
See all →- Easy
JavaScript fundamentals
Types, scope and the small surprises the language is famous for.
8 questions6 min - Easy
Python essentials
Syntax, built-in types and the everyday behaviour of the standard library.
8 questions6 min - Hard
Complexity and Big O
How algorithms behave when the input stops being small.
7 questions8 min