ForeFlight interview question

Explain your process for this problem (the take home OA)