LeetCode
Array | Site | Links |
---|---|---|
Two Sum |
leetcode |
https://leetcode.com/problems/two-sum/ |
Best Time to Buy and Sell Stock |
leetcode |
https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ |
Contains Duplicate |
leetcode |
https://leetcode.com/problems/contains-duplicate/ |
Product of Array Except Self |
leetcode |
https://leetcode.com/problems/product-of-array-except-self/ |
Maximum Subarray |
leetcode |
https://leetcode.com/problems/maximum-subarray/ |
Maximum Product Subarray |
leetcode |
https://leetcode.com/problems/maximum-product-subarray/ |
Find Minimum in Rotated Sorted Array |
leetcode |
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ |
Search in Rotated Sorted Array |
leetcode |
https://leetcode.com/problems/search-in-rotated-sorted-array/ |
3Sum |
leetcode |
https://leetcode.com/problems/3sum/ |
Container With Most Water |
leetcode |
https://leetcode.com/problems/container-with-most-water/ |
Binary | Site | Links |
---|---|---|
Sum of Two Integers |
leetcode |
https://leetcode.com/problems/sum-of-two-integers/ |
Number of 1 Bits |
leetcode |
https://leetcode.com/problems/number-of-1-bits/ |
Counting Bits |
leetcode |
https://leetcode.com/problems/counting-bits/ |
Missing Number |
leetcode |
https://leetcode.com/problems/missing-number/ |
Reverse Bits |
leetcode |
https://leetcode.com/problems/reverse-bits/ |
Dynamic Programming | Site | Links |
---|---|---|
Climbing Stairs |
leetcode |
https://leetcode.com/problems/climbing-stairs/ |
Coin Change |
leetcode |
https://leetcode.com/problems/coin-change/ |
Longest Increasing Subsequence |
leetcode |
https://leetcode.com/problems/longest-increasing-subsequence/ |
Longest Common Subsequence |
leetcode |
Required. |
Word Break Problem |
leetcode |
https://leetcode.com/problems/word-break/ |
Combination Sum |
leetcode |
https://leetcode.com/problems/combination-sum-iv/ |
House Robber |
leetcode |
https://leetcode.com/problems/house-robber/ |
House Robber II |
leetcode |
https://leetcode.com/problems/house-robber-ii/ |
Decode Ways |
leetcode |
https://leetcode.com/problems/decode-ways/ |
Unique Paths |
leetcode |
https://leetcode.com/problems/unique-paths/ |
Jump Game |
leetcode |
https://leetcode.com/problems/jump-game/ |
Graph | Site | Links |
---|---|---|
Clone Graph |
leetcode |
https://leetcode.com/problems/clone-graph/ |
Course Schedule |
leetcode |
https://leetcode.com/problems/course-schedule/ |
Pacific Atlantic Water Flow |
leetcode |
https://leetcode.com/problems/pacific-atlantic-water-flow/ |
Number of Islands |
leetcode |
https://leetcode.com/problems/number-of-islands/ |
Longest Consecutive Sequence |
leetcode |
https://leetcode.com/problems/longest-consecutive-sequence/ |
Alien Dictionary (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/alien-dictionary/ |
Graph Valid Tree (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/graph-valid-tree/ |
Number of Connected Components in an Undirected Graph (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/ |
Interval | Site | Links |
---|---|---|
Insert Interval |
leetcode |
https://leetcode.com/problems/insert-interval/ |
Merge Intervals |
leetcode |
https://leetcode.com/problems/merge-intervals/ |
Non-overlapping Intervals |
leetcode |
https://leetcode.com/problems/non-overlapping-intervals/ |
Meeting Rooms (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/meeting-rooms/ |
Meeting Rooms II (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/meeting-rooms-ii/ |
Linked List | Site | Links |
---|---|---|
Reverse a Linked List |
leetcode |
https://leetcode.com/problems/reverse-linked-list/ |
Detect Cycle in a Linked List |
leetcode |
https://leetcode.com/problems/linked-list-cycle |
Merge Two Sorted Lists |
leetcode |
https://leetcode.com/problems/merge-two-sorted-lists/ |
Merge K Sorted Lists |
leetcode |
https://leetcode.com/problems/merge-k-sorted-lists/ |
Remove Nth Node From End Of List |
leetcode |
https://leetcode.com/problems/remove-nth-node-from-end-of-list/ |
Reorder List |
leetcode |
https://leetcode.com/problems/reorder-list/ |
Matrix | Site | Links |
---|---|---|
Set Matrix Zeroes |
leetcode |
https://leetcode.com/problems/set-matrix-zeroes/ |
Spiral Matrix |
leetcode |
https://leetcode.com/problems/spiral-matrix/ |
Rotate Image |
leetcode |
https://leetcode.com/problems/rotate-image/ |
Word Search |
leetcode |
https://leetcode.com/problems/word-search/ |
String | Site | Links |
---|---|---|
Longest Substring Without Repeating Characters |
leetcode |
https://leetcode.com/problems/longest-substring-without-repeating-characters/ |
Longest Repeating Character Replacement |
leetcode |
https://leetcode.com/problems/longest-repeating-character-replacement/ |
Minimum Window Substring |
leetcode |
https://leetcode.com/problems/minimum-window-substring/ |
Valid Anagram |
leetcode |
https://leetcode.com/problems/valid-anagram/ |
Group Anagrams |
leetcode |
https://leetcode.com/problems/group-anagrams/ |
Valid Parentheses |
leetcode |
https://leetcode.com/problems/valid-parentheses/ |
Valid Palindrome |
leetcode |
https://leetcode.com/problems/valid-palindrome/ |
Longest Palindromic Substring |
leetcode |
https://leetcode.com/problems/longest-palindromic-substring/ |
Palindromic Substrings |
leetcode |
https://leetcode.com/problems/palindromic-substrings/ |
Encode and Decode Strings (Leetcode Premium) |
leetcode |
https://leetcode.com/problems/encode-and-decode-strings/ |
Heap | Site | Links |
---|---|---|
Merge K Sorted Lists |
leetcode |
https://leetcode.com/problems/merge-k-sorted-lists/ |
Top K Frequent Elements |
leetcode |
https://leetcode.com/problems/top-k-frequent-elements/ |
Find Median from Data Stream |
leetcode |
https://leetcode.com/problems/find-median-from-data-stream/ |