In many applications, you need to route something from one place to another, be it an NPC in games, or scenery, or graphing applications. The default algorithm for new programmers seems to be the A* algorithm. I created an interactive demonstration video that shows how the A* algorithm works.