Pregunta de entrevista de Veterans United Home Loans

Some medium and easy leetcode question