Problem Statement: You are given the root of a binary tree. The task is to determine if the given binary
Continue readingTag: SDE Sheet
Search in a Binary Search Tree
Write a program to search a node with a given value in a binary search tree. Example: Disclaimer: Don’t jump
Continue readingCount Number of Nodes in a Binary Tree
In this article, we will solve the most asked coding interview problem: Count Number of Nodes in a Binary Tree
Continue readingSubset sum equal to target (DP- 14)
In this article, we will solve the most asked coding interview problem: Subset sum equal to target. In this article,
Continue reading3-d DP : Ninja and his friends (DP-13)
In this article, we will solve the most asked coding interview problem: Ninja and his friends. Problem Link: Ninja and
Continue readingTower of Hanoi
Problem Statement: “The Tower of Hanoi, is a mathematical problem which consists of three rods and multiple disks. Initially, all
Continue readingBinary Search Tree : BST Introduction
In this article, we will be going to discuss the Binary Search Tree data structure. Pre-req: Binary Tree, Tree Traversals
Continue readingMaximum Xor Queries | Trie
In this article, we will solve the most asked interview question: “Maximum Xor Queries”. Problem Link – Maximum Xor Queries
Continue readingClone Linked List with Random and Next Pointer
In this article we will solve the most asked coding interview problem “Clone Linked List”. Problem Statement: Given a Linked
Continue readingMinimum/Maximum Falling Path Sum (DP-12)
In this article, we will solve the most asked coding interview problem: Minimum/Maximum falling path sum. Problem Link: Variable Starting
Continue reading