You know that game “Flow”? Is there a developed algorithm out there that creates generalized solutions to those puzzles (if a solution exists)?
And if so, has that algorithm been used to help with single-layer PCB designs with fixed component locations, or analyzing if a certain layout would require a multi-layer PCB to be viable?