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!
All Posts


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


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


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


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


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


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


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


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


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


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


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


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


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


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
0


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
0


Longest Common Prefix
In this article, we will solve the problem of finding the longest common prefix among an array of strings. Problem Statement: Find the...
Jun 17, 20241 min read
0


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
0


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
0


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
0


Check if the given Linked List is Palindrome
In this article, we will solve the problem of determining if a given linked list is a palindrome. Given the head of a singly linked list,...
Jun 6, 20241 min read
0


Add Two Numbers Represented as Linked List
In this article, we will solve the problem of adding two numbers represented as linked lists. So we are given the heads of two singly...
Jun 6, 20242 min read
0


Search an Element in Linked List
In this article, we will solve the problem of searching for an element in a linked list. Problem Statement: We are given the head of a...
Jun 5, 20241 min read
0


Rotate a Linked List
In this article, we will solve the problem of rotating a linked list to the right by a given K places. Example: 1 -> 2 -> 3 -> 4 -> 5 ->...
Jun 5, 20241 min read
0


Detect a Cycle in a Linked List
In this article, we will solve the problem of detecting a cycle in a linked list. This is a common problem that can occur in real-world...
Jun 5, 20241 min read
0
bottom of page