Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinkyjie/leetcode-patterns
Leetcode questions categorised by patterns
https://github.com/pinkyjie/leetcode-patterns
algorithms leetcode
Last synced: 3 months ago
JSON representation
Leetcode questions categorised by patterns
- Host: GitHub
- URL: https://github.com/pinkyjie/leetcode-patterns
- Owner: PinkyJie
- License: mit
- Created: 2020-09-25T11:19:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T12:39:09.000Z (over 3 years ago)
- Last Synced: 2024-10-15T14:33:35.402Z (3 months ago)
- Topics: algorithms, leetcode
- Language: JavaScript
- Homepage:
- Size: 280 KB
- Stars: 41
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leetcode-patterns
Leetcode problems categorized by patterns.
## Patterns
1. [Sliding window](./1_sliding-window)
2. [Tow pointers](./2_two-pointers)
3. [Fast slow pointers](./3_fast-slow-pointers)
4. [Merge intervals](./4_merge-intervals)
5. [Cyclic sort](./5_cyclic-sort)
6. [In place reversal of a linked list](./6_in-place-reversal-of-a-linked-list)
7. [BFS](./7_BFS)
8. [DFS](./8_DFS)
9. [Two heaps](./9_two-heaps)
10. [Subsets](./10_subsets)
11. [Binary search](./11_binary-search)
12. [Bitwise XOR](./12_bitwise-xor)
13. [Top K elements](./13_top-k-elements)
14. [K-way merge](./14_k-way-merge)
15. [Dynamic programming](./15_dynamic-programming)
16. [Topological sort](./16_topological-sort)
17. [Divide and conquer](./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
- [Grokking the Coding Interview](https://www.educative.io/courses/grokking-the-coding-interview) from Educative.io.
- [labuladong 的算法小抄](https://labuladong.gitbook.io/algo/) (Chinese language)