Frontier Airlines interview question

Some assessment problems were a little tricky.