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.
This comment is hidden because it contains spoiler information about the solution
I like the compact solution you found, but:
Since you use the "[i ** 2 for i in array1]" part you first generate a full list in memory, then check if it is the same as the other list.
For long lists it is far more efficient to generate the squares element by element while checking, because you could find a different early on and just return false.
Hi man, one hint:
You can get rid of solution a1 because that is always >1, therefore it is not a converged solution.