AIRA MATRIX Interview Question

about design patterns puzzles