Sorting Interview Problems

Easy Problems on Sorting:

Medium Problems on Sorting:

Problems

Solve

Triplet Sum in Array (3sum)

Solve

Find a triplet in an array whose sum is closest to a given number

Solve

Find K most occurring elements in the given Array

Solve

Merge Overlapping Intervals

Solve

Arrange given numbers to form the biggest number | Set 1

Solve

Sort an array of 0s, 1s and 2s | Dutch National Flag problem

Solve

K’th Smallest/Largest Element in Unsorted Array

Solve

Inversion count in Array using Merge Sort

Solve

Minimum Number of Platforms Required for a Railway/Bus Station

Solve

Check if two arrays are equal or not

Solve

Find all triplets with zero sum

Solve

Find maximum meetings in one room

Solve

Case-specific Sorting of Strings

Solve

Union of Two Linked Lists

Solve

Sort elements by frequency using STL

Solve

Minimum Increment operations to make Array unique

Solve

Find the maximum number of intersections lines

Solve

Find the point where maximum intervals overlap

Solve

Check if two arrays are equal or not

Solve

Rearrange an array to minimize sum of product of consecutive pair elements

Solve

Position of an element after stable sort

Solve

Merge Sort for Doubly Linked List

Solve

Radix Sort

Solve

Segregate 0s and 1s in an array

Solve

Sort all even numbers in ascending order and then sort all odd numbers in descending order

Solve

Minimum product of k integers in an array of positive Integers

Solve

Permute two arrays such that sum of every pair is greater or equal to K

Solve

Count pairs from two sorted arrays whose sum is equal to a given value x

Solve

Alternative Sorting

Solve

Choose k array elements such that difference of maximum and minimum is minimized

Solve

Hard Problems on Sorting:

Related Articles:



Top Sorting Interview Questions and Problems

Here is the collection of the Top 50 list of frequently asked interview questions on Sorting. Problems in this article are divided into three Levels so that readers can practice according to the difficulty level step by step. 

Top 50 Sorting Coding Problems for Interviews

Similar Reads

Sorting Interview Question and Answers:

Question 1: What is a sorting algorithm?...

Sorting Interview Problems:

Easy Problems on Sorting:...

Contact Us