← Questions

Does a word exist as a path in a graph?

0
GoogleCodingLast asked May 2026

Every node of a graph holds a letter. Decide whether a word can be spelled by walking along edges, one letter per node. Agree on whether a node may be used twice, and give the cost of your search.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding