Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 356 Bytes

File metadata and controls

6 lines (5 loc) · 356 Bytes

Operations on Collections (#1)

The starter code defines a Person class with a name and age. Define the function findOldest(people: List<Person>, quantity: Int) so that it returns a List<String> containing a given number (quantity) of oldest Persons from the list people. The resulting List should contain names in alphabetical order.