Grid Navigation Value Estimation - Coding problem | OneNoughtOne