4 min Coding ProblemsHamiltonian Path Problem Problem Statement: Given an undirected graph. The task is to print all the Hamiltonian cycles present in the…January 4, 2024 Read More
4 min Coding ProblemsRearrange Array Alternately Problem Statement Given a sorted array A[] consisting of N integers. The task is to rearrange the array…January 4, 2024 Read More
2 min Coding ProblemsXOR of Two Numbers Problem Statement Given 2 numbers, find their bitwise XOR, without using the bitwise XOR operator. Sample Test Cases…January 4, 2024 Read More
2 min Coding ProblemsN-ary Tree – Tree Data Structures Introduction N-ary trees are tree data structures that allow us to have up to n children nodes for…January 4, 2024 Read More
2 min Coding ProblemsSerialize and Deserialize a Binary Tree Problem Statement Given a binary tree, serialize and deserialize the binary tree. Serialize: Write the tree into a…January 4, 2024 Read More
3 min Coding ProblemsMerge Two Sorted Arrays Without Extra Space Problem Statement We are given two sorted arrays, our task is to merge two sorted arrays in a…January 4, 2024 Read More
7 min Coding ProblemsPainters Partition Problem (With Solution) Problem Statement Given n paint boards, of length {a1, a2, …., an}, and k painters, find the minimum…January 4, 2024 Read More
4 min Coding ProblemsReverse Level Order Traversal Problem Statement Given a binary tree, return the reverse level order traversal of its nodes’ values. (i.e, from…January 4, 2024 Read More
2 min Coding ProblemsDelete Node in a Linked List Problem Statement Given the linked list. The task is to delete the node of the linked list and…January 4, 2024 Read More
3 min Coding ProblemsLowest Common Ancestor The Lowest Common Ancestor of two nodes is the lowest node that has both nodes as descendants. Problem…January 4, 2024 Read More