donnemartin/interactive-coding-challenges — reverse-engineered prompt
Reverse engineered prompt
Build me a Python interview prep project with interactive coding challenges. I want it to feel like a self study workbook for algorithms and data structures, using notebooks where each problem has a clear prompt, assumptions, example test cases, a place to write the solution, and unit tests that fail until the learner solves it.
Include a matching solution notebook for each challenge with clean reference code, explanation of the approach, and Big O time and space complexity. Cover the main interview topics like arrays and strings, linked lists, stacks and queues, graphs and trees, sorting and searching, recursion, dynamic programming, math, probability, bit manipulation, and online judge style problems.
Also include tested reference implementations for common structures and algorithms like linked lists, stacks, queues, graphs, trees, heaps, tries, hash maps, sorting, search, BFS, DFS, topological sort, and shortest path. Add an Anki flashcard deck or exportable card source for reviewing key concepts. Make it easy to run locally and verify everything with tests.
Want more depth? Deep Reverse