The C++ Textbook

Practice · Core

Three greedies sorted by the wrong key