Perfect Squares | LeetCode | Solution Explained
279. Perfect Squares on LeetCode is a mathematical problem, requiring us to pair math with algorithms. I explore...
Construct BST from Preorder Traversal | LeetCode | Solution Explained
1008. Construct Binary Search Tree – BST from Preorder Traversal is a question which relies upon understanding the...
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...
Diameter of Binary Tree | LeetCode | Solution Explained
Finding the Diameter of Binary Tree is a classic problem when it comes to understanding the basics...
Bitwise AND of Numbers Range | Brian Kernighan | LeetCode | Solution Explained
201. Bitwise AND of Numbers Range. Would have been easy if we were allowed to iterate over all...
Word Search II | LeetCode | Solution Explained
Word Search II is an amazing problem, building on top of two other problems: Word Search I...
Implement Trie (Prefix Tree) | LeetCode | InterviewBit | Solution Explained
LeetCode problem 208. Implement Trie (Prefix Tree) asks us to implement a Prefix Tree or a Trie. They...
Find All Duplicates in an Array | LeetCode | Solution Explained
442. Find All Duplicates in an Array is a medium problem on LeetCode, and is one of...
Climbing Stairs | LeetCode | Solution Explained
70. Climbing Stairs is an easy LeetCode problem. We first look at the iterative dynamic programming (dp)...
Island Perimeter | LeetCode | Solution Explained
463. Island Perimeter is an easy problem on LeetCode. I explore the Iterative solution and the depth first...