Flight Tracker — User Location at a Given Time
Asked at Ramp · Coding Questions · Difficulty: Medium · Last asked Jun 1, 2026
Given a list of flights (departure_airport, departure_time, arrival_airport, arrival_time, user_id), answer where a given user was at a given time, plus which user took the most flights. Binary search over each user's chronologically-sorted flights.
Loading the problem…