Pregunta de entrevista de 23andMe

Basic coding task with focus on edge cases