Mu Sigma interview question

puzzles were difficult