NVIDIA Interview Question

min-max logical question battleship in a board