Pergunta de entrevista da empresa Flatiron Health

Given a hexagonal tile game, where there is a letter on each tile, write an algorithm to determine if a given word exists by traversing the graph without repeatedly visiting nodes.