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.
Done where needed. Thanks!
The user can mutate the input in (at least) Python and Javascript. Pass a copy or get the expected result before.
Ah, yes I did read the log wrongly, thanks.
Are you sure you're reading the logs ok? The log appears above the test result, not below it.
I got this test failure:
Language: Python
Result : False should equal True
Log
Random Tests contain_all_rots
PfCZMGXkspXIjq
['pXIjqPfCZMGXks', 'PfCZMGXkspXIjq', 'XIjqPfCZMGXksp', 'GXkspXIjqPfCZM', 'CZMGXkspXIjqPf', 'jqPfCZMGXkspXI', 'MGXkspXIjqPfCZ', 'ZMGXkspXIjqPfC', 'qPfCZMGXkspXIj', 'spXIjqPfCZMGXk', 'XkspXIjqPfCZMG', 'fCZMGXkspXIjqP', 'IjqPfCZMGXkspX']
The result should be False since kspXIjqPfCZMGX is missing, don't know why it is expecting True.
Oh, I think I understood now. All transformations needs to be in the array, ignoring the useless ones if there are.
Thanks!
Cheers. No I didn't read that. Seems to be overcomplicated for me atm. I may go back to this kata later. Now I focus on Python itself and there's still a lot of things to learn...
Not every string in array has to be rotation of initial string, there can be other things that are not relevant, what matters is that all rotations exist somewhere in the array.
Does that make sense?
This comment is hidden because it contains spoiler information about the solution
Seems good to me and very understandable.
Yes, sorry for my bad knowledge in geometry lmao. Now I understood I applied the logic wrongly. Thanks for the hints.
A 2-3-4 triangle
Java tests are fine. Troubleshooting-your-solution.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution