IonIdea interview question

Test Cases telephone