Skip to content

Leetcode questions categorised by patterns

License

Notifications You must be signed in to change notification settings

PinkyJie/leetcode-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-patterns

Leetcode problems categorized by patterns.

Patterns

  1. Sliding window
  2. Tow pointers
  3. Fast slow pointers
  4. Merge intervals
  5. Cyclic sort
  6. In place reversal of a linked list
  7. BFS
  8. DFS
  9. Two heaps
  10. Subsets
  11. Binary search
  12. Bitwise XOR
  13. Top K elements
  14. K-way merge
  15. Dynamic programming
  16. Topological sort
  17. Divide and conquer

If a file has a non-zero prefix file name, that means the problem can be found on Leetcode, there should be a link in the comment to link to Leetcode. If the problems can be found on Leetcode, then the solution inside is already validated against Leetcode (expect the ones require subscription). Files prefixed by 0 can not be found on Leetcode.

Acknowledgement

About

Leetcode questions categorised by patterns

Topics

Resources

License

Stars

Watchers

Forks