## Tag: array

### Kth Smallest Number in Multiplication Table | LeetCode | Solution Explained

668. Kth Smallest Number in Multiplication Table. I explain the binary search approach in detail along with visuals...

### Largest Divisible Subset | LeetCode | GeeksforGeeks | DP Solution Explained

368. Largest Divisible Subset. I explain the Dynamic Programming approach using simple examples and visuals, along with an...

### Daily Temperatures | LeetCode | Stack Solution Explained

ily Temperatures LeetCode becomes easier to solve with the knowledge of Next Greatest Element (NGE). I explain...

### Single Number III | LeetCode | Bit Manipulation Solution Explained

LeetCode 260. Single Number III. I explain the bit-masking solution in detail, with the help of some neat...

### Single Number | LeetCode | Bit Manipulation Solution Explained

LeetCode 136. Single Number can be solved using the idea of bits. But how to even think about...

### 3Sum | LeetCode | Solution Explained

LeetCode 15. 3Sum is a very popular interview question. I explain the brute-force solution, binary search optimization and...

### Find Minimum in Rotated Sorted Array II | Solution Explained

What makes LeetCode 154. Find Minimum in Rotated Sorted Array II fun is the optimized solution. I explain...

### Insert Delete GetRandom O(1) | Solution Explained

LeetCode 380. Insert Delete GetRandom O(1) is an implementation based question, requiring us to know the time complexities...

### Best Time to Buy and Sell Stock | A Compilation of Solutions

Best Time to Buy and Sell Stock is a popular series of problems on LeetCode. In this...

### Guess Number Higher or Lower | LeetCode | Solution Explained

374. Guess Number Higher or Lower LeetCode is based on the understanding of binary search, and how we...