USAA interview question

Logic problems