Company: Agoda_15dec
Difficulty: medium
API Problem: Find the Speedster body { font-family: sans-serif; line-height: 1.6; } h1, h2, h3 { border-bottom: 1px solid #ccc; padding-bottom: 5px; } code { background-color: #f4f4f4; padding: 2px 6px; border-radius: 4px; font-family: monospace; } pre { background-color: #f4f4f4; padding: 15px; border-radius: 5px; white-space: pre-wrap; } .sample { border: 1px solid #ddd; padding: 15px; margin-bottom: 15px; border-radius: 5px; } Find the Speedster Description Identify the fastest runner of a given sex in a marathon. A speedster is defined as the runner with the highest top speed. If two runners have the same top speed, return the one with fewer stops. If no runner matches the criteria, e.g., no male runners in a given marathon, return an empty string. API Endpoint Access the marathon runner database via HTTP GET requests at the following URL: https://jsonmock.hackerrank.com/api/marathon The results are paginated and can be accessed by adding &page=<num> to the query string, wher