Questions tagged [bucket-sort]

Bucket sort is mainly useful when input is uniformly distributed over a range. Use this tag for implementations of the Bucket sort algorithm.

Filter by
Sorted by
Tagged with
6
votes
3answers
1k views

LeetCode: Top K Frequent Elements C#

https://leetcode.com/explore/interview/card/top-interview-questions-medium/110/sorting-and-searching/799 Given a non-empty array of integers, return the k most frequent elements. Example 1: ...