THQ Nordic interview question

Describe the implementation of a pathfinding algorithm.