Flight Location Query (Where is the user at time T?)

Problem: Query a User’s Airport at a Given Time (including “in-flight”)

You are given a list of flight records flights. Each record contains:

  • userId: the user identifier
  • from: departur...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: