Glossary: Coding Interviews in Rust
Reverse
Also written: std::cmp::Reverse
A Rust wrapper that flips the order of a value. It turns the max-heap `BinaryHeap` into a min-heap and lets a tuple sort counts biggest first.
Glossary: Coding Interviews in Rust
Also written: std::cmp::Reverse
A Rust wrapper that flips the order of a value. It turns the max-heap `BinaryHeap` into a min-heap and lets a tuple sort counts biggest first.