|
Download benchmarks/Algorithms/bucket_sort/problem.md from PV-SJTU/PV-Bench: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/bucket_sort/problem.md
- Command line
-
hf download hf://datasets/PV-SJTU/PV-Bench/benchmarks/Algorithms/bucket_sort/problem.md
-
curl -L -o problem.md https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/bucket_sort/problem.md
448 Bytes
Decimal Radix Sort
Description
Sort nonnegative integers in nondecreasing order by stable decimal-digit bucket passes.
Input
The function receives an integer array a and its length $n$.
Output
The same array contains the input values in nondecreasing order.
Constraints
- $0 \le n \le 1000$.
- $0 \le a_i \le 999999999$ for every element.
Source
Classical radix-sort problem reconstructed from the verified C artifact.