In this post, we’ll walk through a novel method of solving a famous mathematical problem from computer science, and in the process, I’ll describe how it can be implemented effectively in Scala. All the code in this post is available on GitHub. Framing the problem Let’s consider a map of locations, identified by their numerical index for convenience. A salesperson wants to visit each location exact
