Domanda di colloquio di Bridgewater Associates

write an algorithm for the game battleship