3 min Coding ProblemsGCD of Two Numbers (C, Python, Java) With Examples Problem Statement Given two non-negative integers a and b, we have to find their GCD (greatest common divisor),i.e.…March 27, 2023 Read More
4 min Coding ProblemsAdd Two Numbers Represented by Linked Lists Problem Statement Given 2 numbers, where each digit is represented by nodes of a LinkedList, find the sum…February 14, 2023 Read More
5 min Coding ProblemsFind Median in a Stream Problem Statement Given are some integers, which are read from the data stream. The task is to find…January 17, 2022 Read More
4 min Coding ProblemsFriends Pairing Problem (Solution) Problem Statement Given a total of n friends, each friend can either remain single or can be paired…June 15, 2022 Read More
4 min Coding ProblemsTree Diameter – Diameter of a Binary Tree Problem Statement Given a binary tree, find the diameter of the tree. Diameter: The diameter of a tree…July 8, 2022 Read More
3 min Coding ProblemsLetter Combinations of a Phone Number Problem Statement Given a digit string, return all possible letter combinations that the number could represent. A mapping…December 13, 2021 Read More
4 min Coding ProblemsBit Manipulation (Complete Guide) What is Bit Manipulation? Bit Manipulation is a collection of techniques that allows us to solve various problems…November 26, 2021 Read More
4 min Coding ProblemsImplement Queue Using Stack Problem Statement The task here is to implement a First In First Out queue using Stacks. The queue…November 26, 2021 Read More
5 min Coding ProblemsInterleaving Strings (C, Java, and Python Code) Given three strings S1, S2 and S3. The task is to check whether the string S3 can be…November 26, 2021 Read More
2 min Coding ProblemsSorted Array to Balanced BST Given an array A[] of size N, sorted in ascending order. The task is to convert it into…November 25, 2021 Read More