Pergunta de entrevista da empresa 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.

Resposta da entrevista

Sigiloso

20 de out. de 2019

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