## Container With Most Water

Problem Statement Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i,…

Browsing Tag# Brute Force Approach

10 posts

Problem Statement Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i,…

November 26, 2021

Problem Statement Given the heads of two linked lists A and B. The task is to return the…

June 8, 2022

Problem Statement Graph coloring problem involves assigning colors to certain elements of a graph subject to certain restrictions…

November 12, 2021

Problem Statement Given a list of prices of a stock for N days. The task is to find…

November 11, 2021

Problem Statement Given an array A[], find the next greater elementG[i] for every element A[i] in the array.The…

October 25, 2021

Minimum Jumps To Reach End of an Array Given an array of non-negative integers, A, of length N.…

June 15, 2022

Problem Statement Given a staircase of N steps and you can either climb 1 or 2 steps at…

June 15, 2022

Problem Statement Given a string S, find the common palindromic sequence ( A sequence that does not need…

October 21, 2021

Problem Statement Given two integer arrays A[] and B[] of size N and M respectively. The task is…

October 13, 2021

Problem Statement Given a set of N items each having value V with weight W and the total…

October 13, 2021