Pergunta de entrevista da empresa Google

Design the battle ship game

Resposta da entrevista

Sigiloso

6 de fev. de 2011

After the regular multi dimensional array answer was asked to reduce memory footprint. Spoke about linked lists and hashes to store only the required cells from the array. Not sure why the interviewer was not impressed with my design answers