Error in Iterating through permutations

If the problem is the lack of memory, evaluating the score of every permutation with the brute force could shift the bottleneck to the time required to evaluate all the permutations.

I hope I’m wrong :slight_smile:
Good luck!