Finding a good sequence of steps among a huge number of possibilities, like a route or a winning move.