9 min Coding ProblemsVertical Order Traversal Of Binary Tree Problem Statement Given a binary tree, print it vertically. Sample Test Cases Input 1: Output 1: 421 5…November 19, 2021 Read More
4 min Coding ProblemsIntersection of Two Linked Lists Problem Statement Given the heads of two linked lists A and B. The task is to return the…June 8, 2022 Read More
3 min Coding ProblemsVertex Cover Problem Problem Statement Given a graph of n nodes and m edges, find its minimum size vertex cover. Vertex…November 19, 2021 Read More
5 min Coding ProblemsStack Using 2 Queues Problem Statement Implement a class Stack, using 2 Queues, which can perform the following operations: Push(): Push a…November 19, 2021 Read More
3 min Coding ProblemsConstruct Tree from Inorder and Preorder Given two arrays inorder[] and preorder[], which represents the inorder and the preorder traversal of a binary tree.…November 19, 2021 Read More
5 min Coding ProblemsLargest Rectangle in Histogram Given an array of integers A[], where each element A[i] represents the height of a bar in histogram.…November 18, 2021 Read More
4 min Coding ProblemsWord Break Problem (With Solution) Given a string s and a dictionary of strings. The task is to check whether the given string…June 15, 2022 Read More
5 min Coding ProblemsLeft View of a Binary Tree What is Print Left View of a Binary Tree Problem? Given a binary tree, the left view of…July 8, 2022 Read More
2 min Coding ProblemsArrange Given Numbers to Form Biggest Number Problem Statement Given an array of numbers, arrange the numbers in such a way that the number formed…July 6, 2022 Read More
6 min Coding ProblemsMinimum Swaps Problem (Solution) Problem Statement Given an array with distinct integers, find the minimum number of swaps required to sort it.…November 18, 2021 Read More