knute

A habit-building app for algorithms and data structures.

Interviews still ask DSA questions. knute makes practicing them a few minutes a day on your iPhone.

We'll email you when invites open.

See a lesson
Today in knute: the next lesson, the daily goal, The Daily and Beat Knute.
Knute, a smiling stack of three soft pills, waving.

Inside a lesson

  1. 1Learn the idea
  2. 2Place the pointers
  3. 3Trace a swap
  4. 4Finish the code
  5. 5Pick the complexity
  6. 6Lesson complete
9:41
5

Reverse an array in place with two pointers.

012345
538192leftright

Swap the two ends. Move both pointers inward. Stop when they meet.

Continue

The course

Foundations 6 units

  1. Arrays
  2. Hash Maps
  3. Strings
  4. Linked Lists
  5. Stacks and Queues
  6. Recursion

Patterns 7 units

  1. Two Pointers
  2. Sliding Window
  3. Binary Search
  4. Tree Traversal
  5. Binary Search Trees
  6. Heaps
  7. Backtracking

Advanced 7 units

  1. 1D Dynamic Programming
  2. 2D Dynamic Programming
  3. Greedy
  4. Graphs
  5. Union-Find
  6. Tries
  7. Segment Trees
The Library: Foundations as a trail of units, with Knute beside the next lesson.
Leagues: this week's podium and standings among friends.

Every day

Daily goal
5 to 20 minutes.
Streak
One lesson keeps it going.
The Daily
One try at today's puzzle.
Friends league
Weekly XP race.