Data Structures and Algorithms
I don't know if anybody enjoys doing technical interviews. But I do enjoy solving code puzzles in my own time, just for fun! Here is a list of problems I've gone through, including an explanation of how I solved each one.
- First Recurring Character
- LeetCode 1. Two Sum
- LeetCode 8. String to Interger (atoi)
- LeetCode 11. Container with Most Water
- LeetCode 15. 3Sum
- LeetCode 21. Merge Two Sorted Lists
- LeetCode 25. Divide Two Integers
- LeetCode 35. Search Insert Position
- LeetCode 53. Maximum Subarry
- LeetCode 55. Jump Game
- LeetCode 62. Unique Paths
- LeetCode 69. Sqrt(x)
- LeetCode 70. Climbing Stairs
- LeetCode 91. Decode Ways
- LeetCode 102. Binary Tree Level Order Traversal
- LeetCode 104. Maximum Depth of Binary Tree
- LeetCode 121. Best Time to Buy and Sell Stock
- LeetCode 136. Single Number
- LeetCode 139. Word Break
- LeetCode 143. Reorder List
- LeetCode 152. Maximum Product Subarray
- LeetCode 153. Find Minimum in Rotated Sorted Array
- LeetCode 189. Rotate Array
- LeetCode 190. Reverse Bits
- LeetCode 191. Number of 1 Bits
- LeetCode 198. House Robber
- LeetCode 206. Reverse Linked List
- LeetCode 213. House Robber II
- LeetCode 217. Contains Duplicate
- LeetCode 237. Delete Node in a Linked List
- LeetCode 238. Product of Array Except Self
- LeetCode 268. Missing Number
- LeetCode 283. Move Zeroes
- LeetCode 300. Longest Increasing Subsequence
- LeetCode 322. Coin Change
- LeetCode 338. Counting Bits
- LeetCode 371. Sum of Two Integers
- LeetCode 377. Combination Sum IV
- LeetCode 895. Maximum Frequency Stack
- LeetCode 1143. Longest Common Subsequence
- LeetCode 1394. Find Lucky Integer in an Array