Murex Interview Question

Deciphering program Battleship program 1 other I forget