My leetcode solutions.
# | Title | Solution | Difficulty | Done |
---|---|---|---|---|
3194 | Minimum Average of Smallest and Largest Elements | C++ | Easy | ✔️ |
2529 | Maximum Count of Positive Integer and Negative Integer | C++ | Easy | ⬜ |
1851 | Minimum Interval to Include Each Query | C++ | Hard | ⬜ |
1757 | Recyclable and Low Fat Products | SQL | Easy | ⬜ |
1683 | Invalid Tweets | SQL | Easy | ✔️ |
1411 | Number of Ways to Paint N × 3 Grid | C++ | Hard | ⬜ |
1276 | Number of Burgers with No Waste of Ingredients | C++ | Medium | ⬜ |
1148 | Article Views I | SQL | Easy | ✔️ |
853 | Car Fleet | C++ | Medium | ⬜ |
850 | Rectangle Area II | C++ | Hard | ⬜ |
785 | Is Graph Bipartite? | C++ | Medium | ⬜ |
739 | Daily Temperatures | C++ | Medium | ⬜ |
704 | Binary Search | C++ | Easy | ⬜ |
595 | Big Countries | SQL | Easy | ✔️ |
593 | Valid Square | C++ | Medium | ⬜ |
584 | Find Customer Referee | SQL | Easy | ✔️ |
520 | Detect Capital | C++ | Easy | ⬜ |
470 | Implement Rand10() Using Rand7() | C++ | Medium | ⬜ |
461 | Hamming Distance | C++ | Easy | ✔️ |
391 | Perfect Rectangle | C++ | Hard | ⬜ |
347 | Top K Frequent Elements | C++ | Medium | ✔️ |
287 | Find the Duplicate Number | C++ | Medium | ⬜ |
242 | Valid Anagram | C++ | Easy | ⬜ |
238 | Product of Array Except Self | C++ | Medium | ✔️ |
226 | Invert Binary Tree | C, Kotlin, Rust | Easy | ✔️ |
224 | Basic Calculator | Rust | Hard | ⬜ |
218 | The Skyline Problem | C++ | Hard | ⬜ |
217 | Contains Duplicate | C++ | Easy | ✔️ |
206 | Reverse Linked List | C | Easy | ✔️ |
195 | Tenth Line | Bash | Easy | ✔️ |
194 | Transpose File | Bash | Medium | ✔️ |
193 | Valid Phone Numbers | Bash | Easy | ✔️ |
192 | Word Frequency | Bash | Medium | ⬜ |
167 | Two Sum II - Input Array Is Sorted | C++ | Medium | ⬜ |
155 | Min Stack | C++ | Medium | ✔️ |
150 | Evaluate Reverse Polish Notation | Rust | Medium | ✔️ |
149 | Max Points on a Line | C++ | Hard | ⬜ |
146 | LRU Cache | C++ | Medium | ⬜ |
143 | Reorder List | C++ | Medium | ⬜ |
141 | Linked List Cycle | C | Easy | ✔️ |
138 | Copy List with Random Pointer | C++ | Medium | ⬜ |
128 | Longest Consecutive Sequence | C++ | Medium | ✔️ |
125 | Valid Palindrome | C++ | Easy | ✔️ |
123 | Best Time to Buy and Sell Stock III | C++ | Hard | ⬜ |
122 | Best Time to Buy and Sell Stock II | C++ | Medium | ⬜ |
121 | Best Time to Buy and Sell Stock | C++ | Easy | ✔️ |
119 | Pascal's Triangle II | C++ | Easy | ✔️ |
118 | Pascal's Triangle | C++ | Easy | ✔️ |
112 | Path Sum | C | Easy | ✔️ |
110 | Balanced Binary Tree | C | Easy | ✔️ |
104 | Maximum Depth of Binary Tree | C | Easy | ✔️ |
94 | Binary Tree Inorder Traversal | C++ | Easy | ✔️ |
84 | Largest Rectangle in Histogram | C++ | Hard | ⬜ |
72 | Edit Distance | C++ | Hard | ⬜ |
70 | Climbing Stairs | C++ | Easy | ⬜ |
67 | Add Binary | C++ | Easy | ✔️ |
51 | N-Queens | C++ | Hard | ⬜ |
49 | Group Anagrams | C++ | Medium | ✔️ |
48 | Rotate Image | C++ | Medium | ✔️ |
42 | Trapping Rain Water | C++ | Hard | ⬜ |
36 | Valid Sudoku | C++ | Medium | ✔️ |
25 | Reverse Nodes in k-Group | C++ | Hard | ⬜ |
23 | Merge k Sorted Lists | C++ | Hard | ⬜ |
22 | Generate Parentheses | C++ | Medium | ⬜ |
21 | Merge Two Sorted Lists | C++ | Easy | ✔️ |
20 | Valid Parentheses | C++, Rust | Easy | ✔️ |
19 | Remove Nth Node From End of List | C++ | Medium | ⬜ |
15 | 3Sum | C++ | Medium | ⬜ |
13 | Roman to Integer | C++ | Easy | ✔️ |
12 | Integer to Roman | C++ | Medium | ✔️ |
11 | Container With Most Water | C++ | Medium | ⬜ |
2 | Add Two Numbers | C++ | Medium | ⬜ |
1 | Two Sum | C++ | Easy | ⬜ |