5 min Coding ProblemsGraph Coloring Problem Problem Statement Graph colouring problem involves assigning colours to certain elements of a graph subject to certain restrictions…October 31, 2023 Read More
3 min Coding ProblemsContainer With Most Water Problem Statement Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i,…August 11, 2023 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 ProblemsStock Span Problem Problem Statement Given a list of prices of a stock for N days. The task is to find…November 11, 2021 Read More
5 min Coding ProblemsNext Greater Element Problem Statement Given an array A[], find the next greater elementG[i] for every element A[i] in the array.The…October 25, 2021 Read More
4 min Coding ProblemsMinimum Number of Jumps Minimum Jumps To Reach End of an Array Given an array of non-negative integers, A, of length N.…June 15, 2022 Read More
3 min Coding ProblemsClimbing Stairs Problem Problem Statement Given a staircase of N steps and you can either climb 1 or 2 steps at…June 15, 2022 Read More
4 min Coding ProblemsLongest Palindromic Subsequence (With Solution) Problem Statement Given a string S, find the common palindromic sequence ( A sequence that does not need…October 21, 2021 Read More
4 min Coding ProblemsNumber of Pairs Problem Statement Given two integer arrays A[] and B[] of size N and M respectively. The task is…October 13, 2021 Read More
3 min Coding ProblemsFractional Knapsack Problem Problem Statement Given a set of N items each having value V with weight W and the total…October 13, 2021 Read More