Implement short algorithms on logs, grids, and strings | NVIDIA Interview Question