Hexagon Interview Question

aptitude, C programming and Physics