Nestlé Interview Question

remembering numbers and pattern during game.