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
By Manvi Chaddha
● 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
By Ranjul Arumadi
● 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 ..
Leaders In Array
By Harsh Goyal
● Published At Feb 2022
This article will discuss the Leaders in array problems and various ways to solve this problem.... Keep reading ..
Hotel Bookings Possible
By Deeksha
● Published At Feb 2022
In this blog, we are going to discuss the problem of Hotel Bookings Possible. This is the most frequently asked problem in almost all tech interviews.... Keep reading ..
Maximize Subarray Sum of Given Array by Adding X in the Range [L, R] for Q queries
By Saksham Gupta
● Published At Feb 2022
This blog will discuss an application of Kadane’s Algorithm and one of the most asked problems in interviews, i.e., maximize subarray sum of given array by adding X in the range [L, R] for Q queries.... Keep reading ..