Pergunta de entrevista da empresa Capital One

String related question, finding max height of students