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.
Replaced with in initial solution, sample tests, and test cases
First off {1, 3, 2, 2, 2, 5} wouldn't be an issue however, none of the two's would be an error, but for
{1, 3, 2, 2, 2, 5} none of the 2's would be an error thus none of them should be removed. For this in example in particular 5 would be the error.
Included image of periodic table
Updated, is there away that you could have a different description for each language?
Approved
[updated above]
Removed cpp from all of them, now they should be language agnostic :)
What do you mean see all the examples? Like see the examples done by hand?
LGTM, Thanks!
This is some beautiful python code, lgtm!
First you can have errors anywhere in the solar system. For an ordered solar system errors that occur before the first non errored planet are going to be larger, and errors after the first non errored planet are going to be less than. So for your example lets say we have
[sun, 10, 7, 5, 1, 2, 3, 4, 5, 20, 6, 7, 8, 9, 10]
I did update the question to clarify the second point here, hopefully this helps.
Add the two following test cases (unless I missed them):
I am not super good at python, but everything else good!
I increased the number of tests on the wrong one, I wanted to increase the number of tests on tiny solar systems, because if someone were to fail it would be easier to debug.
stated that it is an inclusive maximum size, and that only elements from 1 - 118 are used without repeating.
Yes,
Fixed
Loading more items...