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.
Python:
"Random Tests
Log
a1: [8, 5, 57, 27, 34, 62, 84, 30, 72, 14, 34, 93, 3]
a2: [8649, 5184, 64, 9, 196, 25, 7056, 1156, 900, 729, 3249, 3844, 1176]
It should work with random inputs too: True should equal False"
why is this random test case expected to be False in the randomized test cases?
after sqrt and sorting, the two are equivalent so shouldn't it be True?
a1: [3, 5, 8, 14, 27, 30, 34, 34, 57, 62, 72, 84, 93]
a2: [3, 5, 8, 14, 27, 30, 34, 34, 57, 62, 72, 84, 93]
lol
Just wanted to write it from scratch without using the built-in python sort functions.
This comment is hidden because it contains spoiler information about the solution