Problem Statement: Given an array of integers A of size N and an integer B. The College library has N

Continue reading## 3 Sum : Find triplets that add up to a zero

Problem Statement: Given an array of N integers, your task is to find unique triplets that add up to give a

Continue reading## Implement Stack using single Queue

Problem Statement: Implement a Stack using a single Queue. Note: Stack is a data structure that follows the Last In

Continue reading## Serialize And Deserialize a Binary Tree

Problem Statement: Design an algorithm to serialize and deserialize a binary tree. There is no restriction on how your serialization/deserialization

Continue reading## Median of Two Sorted Arrays of different sizes

Problem Statement: Given two sorted arrays arr1 and arr2 of size m and n respectively, return the median of the

Continue reading## Check if two trees are identical

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

Continue reading## 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## TCS CodeVita Syllabus and Contest Pattern 2021 [Updated Season 10]

About TCS CodeVita TCS CodeVita, the largest global computer programming competition, is a 24-hour online programming contest where a participant

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