DEV Community

Cover image for Visual map of LeetCode problems by patterns & sub-patterns
Andrii Rebrin
Andrii Rebrin

Posted on

Visual map of LeetCode problems by patterns & sub-patterns

Hi everyone!

While solving LeetCode problems, I noticed that solving them randomly is not very effective. Many problems share the same ideas, and some are very similar or even repeated.

Existing patterns are often too general, and when it comes to implementation (especially for beginners), this can be confusing. Some problems, particularly hard ones, also combine multiple patterns. On top of that, LeetCode topics do not always match the best solution pattern or are sometimes missing.

So I’m working on a visual, pattern-based catalog of LeetCode problems, where:

  1. patterns are broken down into smaller sub-patterns
  2. each problem shows which sub-patterns it uses
  3. popular lists like LeetCode 75 / NeetCode 75 can be combined in one place
  4. you can import your solved problems and, by filtering by companies, see how prepared you are for interviews with specific companies

The visual format helps quickly see what exists, how problems are related, and can be useful for refreshing knowledge before interviews.

The taxonomy is not complete yet, and I plan to improve it as I solve more problems. Feedback and PRs for new patterns or categorization are very welcome

Project link: https://leetcompass.io/
GitHub: https://github.com/dr-o-ne/leet-compass

Top comments (0)