Problem Statement: Given two Binary Tree. Write a program to check if two trees are identical or not. Example 1: Input:

Continue reading# Category: Data Structure

## Preorder Traversal of Binary Tree

Problem Statement: Given a binary tree print the preorder traversal of binary tree. Example: Solution: Disclaimer: Don’t jump directly to

Continue reading## Minimum number of platforms required for a railway

Problem Statement: We are given two arrays that represent the arrival and departure times of trains that stop at the

Continue reading## Implement Stack using Array

Problem statement: Implement a stack using an array. Note: Stack is a data structure that follows the Last In First

Continue reading## Nth Root of a Number using Binary Search

Problem Statement: Given two numbers N and M, find the Nth root of M. The nth root of a number

Continue reading## K-th Element of two sorted arrays

Problem Statement: Given two sorted arrays of size m and n respectively, you are tasked with finding the element that

Continue reading## Bottom view of a Binary Tree

Problem Statement: Given a binary tree, print the bottom view from left to right. A node is included in the

Continue reading## Top view of a Binary Tree

Problem Statement: Given below is a binary tree. The task is to print the top view of the binary tree.

Continue reading## Right/Left view of binary tree

Problem Statement: Given a Binary Tree, find the Right/Left view of it. The right view of a Binary Tree is

Continue reading## Search Element in a Rotated Sorted Array

Problem Statement: There is an integer array nums sorted in ascending order (with distinct values). Given the array nums after

Continue reading