Pregunta de entrevista de Bloomberg

Given a grid composed of nodes with pointers up, right, left, and down, write a method which returns true if a particular element exists in the grid.

Respuesta de la entrevista

Anónimo

20 oct 2019

use graph based algorithms like bfs,dfs. It is a typical graph based problem