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 did a O(n) solution at first, but large inputs obligated me to use a long O(n^2) sol u.u
Most people like small solutions rather than the efficient ones
It will be O(n^2) because of count, but good and fast solution overall.
I think mine is noobier lol
This is the most readable solution possible, nice work
This comment is hidden because it contains spoiler information about the solution
I recommend you to study the built-in functions that python has, they are life savers
Nice solution, but you are still checking the already checked values. It can be improved if you save the checked values in another list
good answer, but it could be done in O(n)