This is a collection of LeetCode problems done by me (AndrewSushi). Sorted by Topic, then sorted by problem. Each problem has at least one solution. Solutions are also covered in multiple languages with the primary ones being Python, C, and JS.
Here you will find multiple topics and within them are the different difficulties.
Click on a topic to get directed to that directory:
Arrays
Linked Lists
Math
Matrices
Misc
Strings
Trees
1 - Two Sum
26 - Remove Duplicates from Sorted Array
27 - Remove Element
35 - Search Insert Position
66 - Plus One
88 - Merge Sorted Array
119 - Pascal's Triangle II
121 - Best Time to Buy and Sell Stock
268 - Missing Number
283 - Move Zeroes
495 - Teemo Attacking
704 - Binary Search
977 - Squares of a Sorted Array
1046 - Last Stone Weight
1464 - Maximum Product of two Elements in an Array
1480 - Running Sum of 1D Array
1491 - Average Salary Excluding the Minimum and Maximum Salary
2215 - Find the Difference of Two Arrays
2347 - Best Poker Hand
11 - Container With Most Water
15 - 3Sum
49 - Group Anagrams
53 - Maximum Subarray
80 - Remove Duplicates II
120 - Triangle
167 - Two Sum II - Input Array is Sorted
189 - Rotate Array
198 - House Robber
213 - House Robber II
2225 - Find Players With Zero or One Losses
4 - Median of Two Sorted Arrays
21 - Merge Two Sorted Lists
83 - Remove Duplicates from Sorted List
141 - Linked List Cycles
206 - Reverse Linked List
234 - Palindrome Linked List
2 - Add Two Numbers
19 - Remove Nth Node From End of List
61 - Rotate List
82 - Remove Duplicates from Sorted List II
92 - Reverse Linked List II
148 - Sort List
445 - Add Two Numbers II
707 - Design Linked List
9 - Palindrome Number
70 - Climbing Stairs
258 - Add Digits
326 - Power of Three
342 - Power of Four
504 - Base 7
509 - Fibonacci Number
1137 - N-th Tribonacci Number
1822 - Sign of the Product of an Array
2235 - Add Two Integers
7 - Reverse Integer
50 - Pow(x, n)
319 - Bulb Switcher
2221 - Find Triangular Sum of an Array
867 - Transpose Matrix
1572 - Matrix Diagonal Sum
1672 - Richest Customer Wealth
48 - Rotate Image
74 - Search a 2D Matrix
2545 - Sort the Students by Their Kth Score
13 - Roman to Integer
344 - Reverse String
415 - Add Strings
1662 - Check If Two String Arrays are Equivalent
451 - Sort Characters By Frequency
94 - Binary Tree Inorder Traversal
110 - Balanced Binary Tree
653 - Two Sum IV - Input is a BST
337 - House Robber III
1302 - Deepest Leaves Sum
1305 - All Elements in Two Binary Search Trees
1 - Two Sum
2 - Add Two Numbers
4 - Median of Two Sorted Arrays
7 - Reverse Integer
9 - Palindrome Number
11 - Container With Most Water
13 - Roman to Integer
15 - 3Sum
19 - Remove Nth Node From End of List
21 - Merge Two Sorted Lists
23 - Merge k Sorted Lists
26 - Remove Duplicates from Sorted Array
27 - Remove Element
35 - Search Insert Position
48 - Rotate Image
49 - Group Anagrams
50 - Pow(x, n)
53 - Maximum Subarray
61 - Rotate List
66 - Plus One
70 - Climbing Stairs
74 - Search a 2D Matrix
80 - Remove Duplicates II
82 - Remove Duplicates from Sorted List II
83 - Remove Duplicates from Sorted List
88 - Merge Sorted Array
92 - Reverse Linked List II
94 - Binary Tree Inorder Traversal
110 - Balanced Binary Tree
119 - Pascal's Triangle II
120 - Triangle
121 - Best Time to Buy and Sell Stock
141 - Linked List Cycles
148 - Sort List
167 - Two Sum II - Input Array is Sorted
189 - Rotate Array
198 - House Robber
206 - Reverse Linked List
213 - House Robber II
234 - Palindrome Linked List
258 - Add Digits
268 - Missing Number
278 - First Bad Version
283 - Move Zeroes
319 - Bulb Switcher
326 - Power of Three
337 - House Robber III
342 - Power of Four
344 - Reverse String
415 - Add Strings
445 - Add Two Numbers II
451 - Sort Characters By Frequency
495 - Teemo Attacking
504 - Base 7
509 - Fibonacci Number
653 - Two Sum IV - Input is a BST
704 - Binary Search
707 - Design Linked List
867 - Transpose Matrix
977 - Squares of a Sorted Array
1046 - Last Stone Weight
1137 - N-th Tribonacci Number
1302 - Deepest Leaves Sum
1305 - All Elements in Two Binary Search Trees
1464 - Maximum Product of two Elements in an Array
1480 - Running Sum of 1D Array
1491 - Average Salary Excluding the Minimum and Maximum Salary
1572 - Matrix Diagonal Sum
1662 - Check If Two String Arrays are Equivalent
1672 - Richest Customer Wealth
1822 - Sign of the Product of an Array
2215 - Find the Difference of Two Arrays
2221 - Find Triangular Sum of an Array
2225 - Find Players With Zero or One Losses
2235 - Add Two Integers
2545 - Sort the Students by Their Kth Score
2347 - Best Poker Hand