[2409.11563] Algorithmic methods of finite discrete structures. Hamiltonian cycle of a complete graph and the Traveling salesman problem