Akamai Technologies | Design Underground System | Online Assessment question 2022
Question · Posted Jun 2026
Problem Statement An underground railway system needs to track customer travel times between stations. Implement the UndergroundSystem class with the following operations: Functions checkIn(int id, String stationName, int t) A customer with ID id checks in at station stationName at time t. A customer can only be checked into one station at a time. checkOut(int id, String stationName, int t) The customer with ID id checks out from station stationName at time t. Travel time = t - checkInTime. getAverageTime(String ...
The full answer & interview discussion are available to premium members.
Log in Create a free account