Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
my barbaric Python solution takes ~.3sec/puzzle on my machine, passes sample tests. But it fails all 16 random tests, taking ~9.5 sec to do so. Interestingly, the stderr output reads:
((), (), (), ()) should equal ((1, 3, 4, 2), (4, 2, 1, 3), (3, 4, 2, 1), (2, 1, 3, 4))
when I plug the result into solution, my puzzle solver solves it correctly.
What might be going on here? Too sloooooow or am I missing something else? 🤔
these come with a free version, you can get more numbers with a paid subscription 😂
🔥