Skip to content

Ordering practice problems in Rust

Difficulty:
Category:
Tag:

Showing 6 of 6

Status Title Difficulty
BinaryHeap is a max-heap, and Reverse is the fix Medium
Chains versus loops: top-k, and a function that must not allocate Medium
min and max: the tie-breaking rule nobody reads Medium
PartialOrd and Ord: derived ordering follows declaration order Medium
Trait bounds and why f64 is not Ord Easy
Version requirements: caret, tilde, wildcard, pre-releases Medium