Skip to content

Add nine cheat sheets - #2

Merged
design-gurus merged 1 commit into
mainfrom
cheat-sheets
Aug 22, 2026
Merged

design-gurus merged 1 commit into
mainfrom
cheat-sheets

Conversation

@design-gurus

Copy link
Copy Markdown
Owner

Takes the cheat sheet section from one page to ten. The sibling repo's traffic says cheat sheets outperform everything else, and comparison sheets outperform other cheat sheets, so five of these are comparisons or decision guides.

Read before an interview

  • all-41-patterns.md, the night-before revision sheet, one card per pattern. Generated from the pattern pages themselves, so the summary, the cue, the cost, and the top mistake can never drift from the page they came from.
  • interview-communication.md, the order that works minute by minute, and the sentences worth memorizing.

Read while preparing

  • what-complexity-passes.md, reading the intended solution out of the constraints, plus the other tells a constraints block carries.
  • complexity-cheat-sheet.md, all 41 patterns, the data structures, the sorts, and the graph algorithms.
  • bfs-vs-dfs.md, where the wrong choice still runs and still gives the wrong answer.
  • dp-vs-greedy-vs-backtracking.md, with the coin counterexample and the two greedy proof shapes.
  • python-vs-java-vs-javascript-idioms.md, the same twenty operations three ways. Names the gaps out loud: JavaScript has no heap and no ordered set, Python has no ordered set. Also the modulo sign difference and the Java midpoint overflow.
  • edge-cases-checklist.md, grouped by input type.
  • flashcards.md, 103 cards.

cheat-sheets/README.md indexes them with a suggested order, and the root README cheat sheet section is rewritten to match.

- all-41-patterns.md, the night-before revision sheet. Generated from
  the pattern pages themselves, so it cannot contradict them.
- what-complexity-passes.md, reading the intended solution out of the
  constraints, plus the other tells hidden in a constraints block.
- complexity-cheat-sheet.md, every pattern, structure, sorting and graph
  algorithm with what it costs.
- bfs-vs-dfs.md and dp-vs-greedy-vs-backtracking.md, the two comparisons
  that decide the most answers.
- python-vs-java-vs-javascript-idioms.md, the same twenty operations in
  three languages, plus the traps each language sets.
- edge-cases-checklist.md, by input type.
- interview-communication.md, the order that works and the sentences
  that carry weight.
- flashcards.md, 103 cards.
- cheat-sheets/README.md as the index, and the root README rewritten to
  match.
@design-gurus
design-gurus merged commit 00159f6 into main Aug 22, 2026
2 checks passed
@design-gurus
design-gurus deleted the cheat-sheets branch August 22, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant