How does the bitmask DP for the travelling salesman problem run? | Dynamic Programming question · AnyPrep