Light Mode
Dark Mode
How can I optimize it?

Hi all! I try to solve mission `Broken Window`. I written a code and it works good, but for test with 5(or 6) and more arguments it's work very slow, because I use `itertools.permutations`. Can you help me optimize it and pass all tests?

My code in attachment

Attachment
Created: May 11, 2019, 5:22 p.m.
Updated: May 11, 2019, 8:10 p.m.
0
35
User avatar
fed.kz