Given every file in a file system with its size, list the k largest files — then the k largest directories, where a directory holds everything below it.
Given every file in a file system with its size, list the k largest files — then the k largest directories, where a directory holds everything below it.
The discussion opens with the full question.