01empty input returns empty list
02returns the requested number when no ties
03breaks ties alphabetically ascending
04tie-break is by name, not by the order names appear in the input
05n larger than dict returns everything
Submit runs these and one more check you don’t see, so code written for the visible tests alone can still miss.