IonIdea interview question

black box technique