Counting Sort Problems
Master counting sort problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 9 problems in this category.
Total Problems: 9
Easy: 5
Medium: 4
Showing 9 of 9 problems
Problems
Scroll within this area to browse all problems
#
Title
Difficulty
Counting Sort LeetCode Problems List
- 1137. Height Checker - Easy - Counting SortA school is trying to take an annual photo of all the students. The students are asked to stand in a single file line in non-decreasing order by heigh... Topics: Array, Sorting, Counting Sort
- 948. Sort an Array - Medium - Counting SortGiven an array of integers nums, sort the array in ascending order and return it. You must solve the problem without using any built-in functions in O... Topics: Array, Divide and Conquer, Sorting, Heap (Priority Queue), Merge Sort, Bucket Sort, Radix Sort, Counting Sort
- 274. H-Index - Medium - Counting SortGiven an array of integers citations where citations[i] is the number of citations a researcher received for their ith paper, return the researcher's ... Topics: Array, Sorting, Counting Sort
- 1482. How Many Numbers Are Smaller Than the Current Number - Easy - Counting SortGiven the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you have to count the num... Topics: Array, Hash Table, Sorting, Counting Sort
- 1961. Maximum Ice Cream Bars - Medium - Counting SortIt is a sweltering summer day, and a boy wants to buy some ice cream bars. At the store, there are n ice cream bars. You are given an array costs of l... Topics: Array, Greedy, Sorting, Counting Sort
- 3812. Smallest Palindromic Rearrangement I - Medium - Counting SortYou are given a palindromic string s. Return the lexicographically smallest palindromic permutation of s.... Topics: String, Sorting, Counting Sort
- 561. Array Partition - Easy - Counting SortGiven an integer array nums of 2n integers, group these integers into n pairs (a1, b1), (a2, b2), ..., (an, bn) such that the sum of min(ai, bi) for a... Topics: Array, Greedy, Sorting, Counting Sort
- 1217. Relative Sort Array - Easy - Counting SortGiven two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1. Sort the elements of arr1 such that the ... Topics: Array, Hash Table, Sorting, Counting Sort
- 2148. Minimum Number of Moves to Seat Everyone - Easy - Counting SortThere are n availabe seats and n students standing in a room. You are given an array seats of length n, where seats[i] is the position of the ith seat... Topics: Array, Greedy, Sorting, Counting Sort
Related LeetCode Topics
- Array LeetCode Problems
- Backtracking LeetCode Problems
- Biconnected Component LeetCode Problems
- Binary Indexed Tree LeetCode Problems
- Binary Search LeetCode Problems
- Binary Search Tree LeetCode Problems
- Binary Tree LeetCode Problems
- Bit Manipulation LeetCode Problems
- Bitmask LeetCode Problems
- Brainteaser LeetCode Problems
- Breadth-First Search LeetCode Problems
- Bucket Sort LeetCode Problems
- Combinatorics LeetCode Problems
- Concurrency LeetCode Problems
- Counting LeetCode Problems
- Data Stream LeetCode Problems
- Database LeetCode Problems
- Depth-First Search LeetCode Problems
- Design LeetCode Problems
- Divide and Conquer LeetCode Problems