Pergunta de entrevista da empresa American Express

Basic programing question, guestimate approach