Air Space Intelligence interview question

Leetcode style problem. System design type problem.