Free DSA course · beginner friendly

Learn DSA by spotting the pattern.

Most coding interview problems are a few dozen patterns in disguise. One Hint Away teaches data structures and algorithms one pattern at a time, in order: the clue that gives it away, a dry run you can follow, and code in four languages.

Lessons
21
Patterns
11
Practice problems
55
Languages
4

How every lesson works

From “I’ve never seen this” to solved, in four steps.

  1. 01

    Spot the clue

    Every pattern leaves a clue in the problem statement. Learn the words that give it away.

  2. 02

    Watch it run

    A dry run on a tiny input, step by step on the slides, so you see why it works.

  3. 03

    Code it your way

    Pseudocode first, then tested code in Java, Python, C++ and JavaScript.

  4. 04

    Practice

    Hand-picked LeetCode problems, easiest first, each with a one-line hint.

The roadmap

One path from zero to interview ready.

Follow the sections in order, or jump to the one you need. New lessons land every few days on @onehintaway.

  1. 00Start here1 lesson
  2. 01Foundations4 lessons
  3. 02Arrays and hashing14 lessons
  4. 03Maths2 lessons
  5. 04Recursion and sortingComing soon
  6. 05Binary searchComing soon
  7. 062D arrays and stringsComing soon
  8. 07BacktrackingComing soon
  9. 08Linked listComing soon
  10. 09Bit manipulationComing soon
  11. 10GreedyComing soon
  12. 11Stack and queueComing soon
  13. 12TreesComing soon
  14. 13HeapsComing soon
  15. 14GraphsComing soon
  16. 15Dynamic programmingComing soon
  17. 16Tries and stringsComing soon
  18. 17Advanced (optional)Coming soon

All lessons

Every lesson, in reading order.

00

Start here

1 lesson
01

Foundations

4 lessons
02

Arrays and hashing

14 lessons
03

Maths

2 lessons

One new pattern every few days.

Follow @onehintaway on Instagram for the slides as they come out, then come back here for the code.

Follow on Instagram