SNo | Name | Difficulty | Question | Solution |
---|---|---|---|---|
1 | Two Sum | Easy | view | view |
2 | Pascal's Triangle | Easy | view | view |
3 | Pascal's Triangle II | Easy | view | view |
4 | Best Time to Buy and Sell Stock | Easy | view | view |
5 | Best Time to Buy and Sell Stock II | Medium | view | view |
6 | Longest Consecutive Sequence | Medium | view | view |
7 | Majority Element | Easy | view | view |
8 | Majority Element II | Medium | view | view |
9 | Remove Element | Easy | view | view |
10 | 4Sum | Medium | view | view |
11 | Maximum Ascending Subarray Sum | Medium | view | view |
12 | Find the Duplicate Number | Medium | view | view |
13 | Next Permutation | Medium | view | view |
14 | Search in Rotated Sorted Array | Medium | view | view |
15 | Combination Sum | Medium | view | view |
16 | Combination Sum II | Medium | view | view |
17 | Permutations II | Medium | view | view |
18 | Rotate Image | Medium | view | view |
19 | Pow(x, n) | Medium | view | view |
20 | Maximum Subarray | Medium | view | view |
21 | Merge Intervals | Medium | view | view |
22 | Set Mismatch | Easy | view | view |
23 | Set Matrix Zeroes | Medium | view | view |
24 | Palindrome Number | Easy | view | view |
25 | Ugly Number | Easy | view | view |
26 | Ugly Number II | Medium | view | view |
27 | Maximum Length of Pair Chain | Medium | view | view |
28 | Happy Number | Easy | view | view |
Leetcode
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||