top of page
All of our Articles In One Place
Welcome to our Articles page, where you'll find a wealth of information on a variety of topics. From sorting to math, our of writers have you covered. Browse our collection of articles and learn something new today!


Introduction to Clustering: K-Means and Beyond
In simple words, clustering is like sorting a messy pile of socks into neat groups based on their color or pattern. In a similar way here...
Feb 133 min read
0 comments


Pascals Triangle
Problem Statement:Â Given an integer numRows, generate the first numRows of Pascal's Triangle. In Pascal's Triangle, each number is the...
Jul 24, 20241 min read
0 comments


Maximum Sum Path in Two Arrays
In this article, we will solve the problem of finding the sum of the maximum sum path in two sorted arrays having some elements in...
Jul 24, 20242 min read
0 comments


Find Maximum Product Subarray
In this article, we will solve the problem of finding the maximum product subarray within a given array of integers. Problem...
Jul 24, 20241 min read
0 comments


Cyclically Rotate an Array by One
In this article, we will solve the problem of cyclically rotating an array by one position to the right. Problem Statement:Â Given an...
Jul 24, 20241 min read
0 comments


Minimum Number of Jumps to Reach End
In this article, we will solve the problem of finding the minimum number of jumps required to reach the end of an array. This simply...
Jul 24, 20241 min read
0 comments


K'th Smallest Element in an Unsorted Array
In this article, we will solve the problem of finding the k'th smallest element in an unsorted array. This means that in an array, we...
Jul 24, 20241 min read
0 comments


Next Greater Element
In this article, we will solve the problem of finding the next greater element for each element in an array. Problem Statement:Â Given an...
Jul 17, 20241 min read
0 comments


Stack Permutations (Check if an Array is a Stack Permutation of Another)
In this article, we will solve the problem of checking if one array is a stack permutation of another. Problem Statement:Â A stack...
Jul 17, 20242 min read
0 comments


Find Maximum Difference Between Nearest Left and Right Smaller Elements
In this article, we will solve the problem of finding the maximum absolute difference between the nearest left and right smaller elements...
Jul 17, 20242 min read
0 comments


Check for Balanced Parenthesis
In this article, we will solve the problem of checking if a string has balanced parentheses. Problem Statement:Â Given a string containing...
Jul 17, 20241 min read
0 comments


Implementing a Stack Using a Queue
In this article, we will learn how to implement a stack data structure using a single queue. Problem Statement:Â Implement a stack using a...
Jul 17, 20241 min read
0 comments


Implementing a Stack using Arrays
In this article, we will learn how to implement a stack data structure using arrays. Problem Statement:Â Implement a stack using an array...
Jul 17, 20241 min read
0 comments


Find Minimum Number of Coins to Make a Given Value (Coin Change)
In this article, we will solve the problem of finding the minimum number of coins needed to make a given value. Problem Statement:Â We are...
Jun 17, 20242 min read
0 comments


Fractional Knapsack Problem
In this article, we will solve the Fractional Knapsack Problem using the Greedy approach. Problem Statement:Â The weights and values of N...
Jun 17, 20241 min read
0 comments


Minimum Platforms
In this article, we will solve the problem of determining the minimum number of platforms required at a railway station. Problem...
Jun 17, 20241 min read
0 comments


N Meetings in One Room
In this article, we will solve the problem of scheduling the maximum number of meetings in one room. Problem Statement:Â We are given two...
Jun 17, 20241 min read
0 comments


Search Pattern (KMP Algorithm)
Problem Statement:Â Given a text txt and a pattern pat, our task is to make a function that searches for all occurrences of pat in txt....
Jun 17, 20241 min read
0 comments


Edit Distance
Problem Statement:Â Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. We can...
Jun 17, 20241 min read
0 comments


Multiply Two Strings
Problem Statement:Â Given two non-negative integers represented as strings, return the product of these numbers as a string. Example 1:...
Jun 17, 20241 min read
0 comments
bottom of page