Mohamed Halawa
All writing

Book notes

Grokking Algorithms

By Mohamed Halawa1 min readSoftware design

Notes and visual takeaways from Grokking Algorithms, 2nd edition, by Aditya Y Bhargava. Covers search, sort, graphs, trees, dynamic programming, and more.

Why this one

The illustrated approach earns its title — the drawings do real work, not decoration. Binary search, big-O, and the graph chapters land faster than in denser texts because every idea gets a picture before the code.

Cover of Grokking Algorithms by Aditya Y. Bhargava

Standouts so far

  • Big-O by feel — the runtime chapter builds intuition before notation.
  • Graphs — BFS/Dijkstra explained with worked, drawn examples.
  • Dynamic programming — the grid framing finally made it click.

More notes as I finish the back half.