Republic Airways interview question

Read prompt