Capgemini Interview Question

First Round aptitude Second round gaming puzzle