3 min Coding Problems Palindrome Number in C, Java, and Python A palindrome number is a number that remains the same when digits are reversed. For example, the number… March 27, 2023 Read More
3 min Coding Problems GCD 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
3 min Coding Problems Travelling Salesman Problem (TSP) Problem Statement Given a set of cities and the distance between every pair of cities as an adjacency… March 10, 2023 Read More
4 min Coding Problems Add 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
2 min Coding Problems Serialize and Deserialize a Binary Tree Problem Statement Given a binary tree, serialize and deserialize the binary tree. Serialize: Write the tree into a… December 17, 2021 Read More
3 min Coding Problems Delete Node From Binary Search Tree Problem Statement Given a binary search tree and a key value. The task is to delete the given… January 17, 2022 Read More
5 min Coding Problems Find 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 Problems Friends 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
2 min Coding Problems N-ary Tree – Tree Data Structures Introduction N-ary trees are tree data structures that allow us to have up to n children nodes for… October 3, 2022 Read More
3 min Coding Problems Depth First Search – Traversal Of The Graph Problem Statement Given an undirected, unweighted graph print the DFS traversal of the graph. Sample Test CasesInput 1:… December 13, 2021 Read More