A structured catalog of algorithmic patterns for interview preparation.
When first starting with LeetCode, the large number of problems can feel overwhelming. Solving problems randomly takes a lot of effort and is often quickly forgotten. Focusing on algorithmic patterns instead of individual problems makes learning more efficient and helps build lasting intuition. This project organizes patterns and shows an interactive graph linking patterns to problems, making it easier to navigate coding interviews.
Inspired by https://labuladong.online/en/
🧩 Group LeetCode-style problems by pattern
🔍 Show problem to pattern relationships via an interactive graph
🧠 Help build intuition, not just solutions, for faster interview preparation
Contributions are welcome! Here’s how you can help improve the catalog:
- Open the
patterns.jsonfile. It contains all patterns and sub-patterns. - Add a new entry if you think a pattern or sub-pattern is missing.
- Make sure it makes sense to create a separate sub-pattern rather than merging with an existing one.
- Open the
problems.jsonfile. It contains all cataloged problems. - Add or update the
patternsfor a problem that can be solved using a specific sub-pattern, or for which a sub-pattern is important for its optimal solution. - Prefer adding only the sub-patterns that contribute to the best or most optimal solution for the problem.
Submit a pull request with your additions or improvements
Work in progress