This is my first C++ project. It started in search of an answer for this question that I asked on stackexchange: https://math.stackexchange.com/q/5036847,
what is the shortest path that touches every square in a square grid?
Regardless of what the answer is, we can keep going and brute-force ALL paths for even larger n.
I'd like to hear about everything that I am doing wrong, github stuff included, any concrete ideas about better algorithms that could work. I am not afraid of a complete rewrite, my only goal is finding more solutions. Feel free to contribute if the problem interests you.
https://github.com/tomka700/Minimal-path