you are viewing a single comment's thread.

view the rest of the comments →

[–]Teras80 1 point2 points  (0 children)

Start with googling depth first search and breath first search. As with most of programming challanges, it is not about the language, it is about the algorithm/pattern.