Pregunta de entrevista de Capital One

Medium difficulty on leetcode for coding problems. Jenkins AWS