Bucket Sort Problems

Master bucket sort problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 6 problems in this category.

Total Problems: 6
Medium: 5
Hard: 1

Bucket Sort LeetCode Problems List

  • 347. Top K Frequent Elements - Medium - Bucket SortGiven an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.... Topics: Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect
  • 948. Sort an Array - Medium - Bucket 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
  • 451. Sort Characters By Frequency - Medium - Bucket SortGiven a string s, sort it in decreasing order based on the frequency of the characters. The frequency of a character is the number of times it appears... Topics: Hash Table, String, Sorting, Heap (Priority Queue), Bucket Sort, Counting
  • 220. Contains Duplicate III - Hard - Bucket SortYou are given an integer array nums and two integers indexDiff and valueDiff. Find a pair of indices (i, j) such that: i != j, abs(i - j) <= indexDiff... Topics: Array, Sliding Window, Sorting, Bucket Sort, Ordered Set
  • 164. Maximum Gap - Medium - Bucket SortGiven an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains less than two ele... Topics: Array, Sorting, Bucket Sort, Radix Sort
  • 692. Top K Frequent Words - Medium - Bucket SortGiven an array of strings words and an integer k, return the k most frequent strings. Return the answer sorted by the frequency from highest to lowest... Topics: Array, Hash Table, String, Trie, Sorting, Heap (Priority Queue), Bucket Sort, Counting

Related LeetCode Topics

Bucket Sort LeetCode Problems - Interview Coder