Text Justification | LeetCode | InterviewBit | Solution Explained
Text Justification LeetCode/Justified Text InterviewBit is a interesting problem. I use raw logic to explain the solution...
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...
Valid Palindrome String | LeetCode | InterviewBit | Solution
LeetCode Problem Link. InterviewBit Problem Link.
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 | LeetCode | Bit Manipulation Solution Explained
LeetCode 136. Single Number can be solved using the idea of bits. But how to even think about...
Unique Paths III | Backtracking Solution Explained
LeetCode 980. Unique Paths III. We are going to look at the backtracking approach in detail using visuals...
Surrounded Regions | DFS Solution Explained
LeetCode 130. Surrounded Regions. I solve the problem using DFS approach. This is more of an implementation based...
3Sum | LeetCode | Solution Explained
LeetCode 15. 3Sum is a very popular interview question. I explain the brute-force solution, binary search optimization and...
Count Complete Tree Nodes | Solution (Explained)
LeetCode 222. Count Complete Tree Nodes is a medium problem if you go by the naive solution. To...