Google Interview Question

Design the battle ship game

Interview Answer

Anonymous

Feb 6, 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