Practice Problems
Sorting problems are commonly asked in programming competitions. It may be difficult for a newbie to solve these challenges at first. This section will cover the most common programming interview questions, bringing you one step closer to your dream job.
Moore’s Voting Algorithm
By Nishant Rana
● Published At Dec 2021
This blog will cover Moore’s Voting algorithm to find the Majority Element and discuss its Time and Space complexity.... Keep reading ..
Next Greater and Smaller Element for Every Element in an Array
By Neelakshi Lahiri
● Published At Oct 2021
The program to find the next greater and smaller element for every element in an array is common in coding interviews. Its solution is discussed in this article. ... Keep reading ..
Max XOR of Two Numbers in an Array
● Published At Oct 2021
Finding the Maximum XOR of two elements in an array is one of the most important interview problems. This article discusses the solution for this. ... Keep reading ..
K’th Largest Element in an array
● Published At Oct 2021
Finding K’th largest element in an array is a vital operation to learn. There are multiple approaches for this which are discussed in the blog.... Keep reading ..
Find Smallest Missing Positive Integer
By Ishita Chawla
● Published At Oct 2021
In this blog, we will be discussing four different approaches to finding the smallest missing positive integer in an unsorted array. ... Keep reading ..
Two Best Non-Overlapping Events
By Aman Chourasiya
● Published At Nov 2021
In this blog, we will discuss a problem involving binary search and a tricky construction. We will learn a tricky construction that proves to be very useful to solve problems based on intervals.... Keep reading ..
Binary Subarrays with Sum
By Husen Kagdi
● Published At Dec 2021
This article discusses the Binary Subarrays with Sum along with different approaches followed by the Implementation in C++, Python, and Java. ... Keep reading ..