Pregunta de entrevista de Top.Legal

Coding, given a test scenario n asked for possible test cases