Avaya Interview Question

some puzzles.