Solutions

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...

Remove Consecutive Characters | InterviewBit | Solution

Note: If you want a detailed explanation, here you go: Remove Consecutive Characters | InterviewBit | Solution...

Number of Valid Words for Each Puzzle | LeetCode | Bitmaksing Solution Explained in Detail

LeetCode 1178. Number of Valid Words for Each Puzzle. Seems hard, but is a breakdown of a couple...

Unique Binary Search Trees | LeetCode | DP Solution, Explained

LeetCode 96. Unique Binary Search Trees. I explain the Dynamic Programming Solution in detail, along with intuitions on...

Multiply Strings | LeetCode | Observation Based Approach, Explained

LeetCode 43. Multiply Strings. I explain the Observation Based Approach using simple maths in detail along with the...

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...