Company: UKG Software Engineer 3_16april
Difficulty: medium
The original task retrieves university records from the paginated REST API https://jsonmock.hackerrank.com/api/universities ( ?page=num ) and returns the highest-ranked university of a given country. The judge has no network access, so in this version the pages of the database are given on standard input. (inferred - the offline input format, the sample database and the NONE output are added so the question can be graded.) Each university record has these fields: university : name of the university rank_display : rank according to the 2022 QS Rankings, written as an integer ( 26 ), a tied integer ( =27 ), a range ( 501-510 ) or an open bound ( 1201+ ). Its numeric rank is the leading integer: 26, 27, 501 and 1201 for these examples. score : university score (a decimal number) country : the country in the record's location Given a country name, find the university of that country with the smallest numeric rank. Country names are compared exactly (case-sensitive, no trimming, no partial