Counting Sort DSA Problems

10 counting sort problems for coding interviews and campus placements, with hints and company tags. Below are all 10: 5 easy, 4 medium and 1 hard. Practise them free on InternHack and track what you have solved.

Counting Sort problems, easiest first

  1. Array Partition (Easy)
  2. Height Checker (Easy)
  3. How Many Numbers Are Smaller Than the Current Number (Easy)
  4. Minimum Number of Moves to Seat Everyone (Easy)
  5. Relative Sort Array (Easy)
  6. H-Index (Medium)
  7. Maximum Ice Cream Bars (Medium)
  8. Smallest Palindromic Rearrangement I (Medium)
  9. Sort an Array (Medium)
  10. Make String Anti-palindrome (Hard)

Companies that ask counting sort problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics