5 min Coding ProblemsEdit Distance Problem Problem Statement Given two strings A and B, find the minimum number of steps required to convert A…October 30, 2023 Read More
8 min Coding ProblemsTrapping Rain Water Problem Statement Given an integer array A[] consisting of N non-negative integers representing an elevation map, where the…July 25, 2023 Read More
9 min CompareDifference Between Greedy and Dynamic Programming In the world of programming, there are two main approaches to solving problems; greedy and dynamic programming. Greedy…July 14, 2023 Read More
5 min Coding ProblemsLongest Common Substring Problem Statement Given two strings, the task is to find the longest common substring present in the given…June 27, 2023 Read More
5 min Coding ProblemsLongest Common Subsequence Problem Statement Given two strings, the task is to find the longest common subsequence present in the given…June 12, 2023 Read More
6 min CompareDifference Between Divide and Conquer and Dynamic Programming A divide-and-conquer algorithm recursively splits a problem into two or more subproblems of similar or related types, until…June 24, 2022 Read More
6 min Coding ProblemsPalindrome Partitioning Problem Problem Statement Given a string s, partition s such that every partition of s is a palindrome. Find…November 9, 2021 Read More
3 min Coding ProblemsCoin Change Problem Problem Statement We are given an array of coins having different denominations and an integer sum representing the…June 15, 2022 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