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!


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
Â


Chocolate Distribution Problem
In this article, we will look at the problem of distributing chocolate packets among students in such a way that the difference between...
Jul 24, 20241 min read
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


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
Â


Isomorphic Strings
In this article, we will solve the problem of finding whether the two given strings are isomorphic. Problem Statement: Given two strings...
Jun 17, 20241 min read
Â


Roman number to Integer
In this article, we will solve the problem of converting a Roman numeral to an integer. Problem Statement: Given a Roman numeral, convert...
Jun 17, 20241 min read
Â


Check if Two Strings Are Anagrams of Each Other
In this article, we will solve the problem of checking if two given strings are anagrams of each other. Two strings are anagrams if they...
Jun 17, 20241 min read
Â


Reverse Words in a String
In this article, we will solve the problem of reversing the words in a given string. Example: Input: s = "the bloodline is cooking"...
Jun 17, 20241 min read
Â


Strings
In this article, we will be understanding the concept of a string. Before understanding the technical aspects, let's first understand...
Jun 17, 20242 min read
Â
bottom of page
