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.
I keep getting "you returned indices that are larger than the array length." Someone verify this works in c? The count should represent the array length right?
Many of the random tests in c have leading spaces.
Use something like bubble sort but make it sort not-zeros and zeros.
A temporary array/object is a place for you to store values and then stitch them together again.
I assume the kata wants you to implement a sorting algorithm... unless it thinks comparisons should also count as a temporary object, in which case, I am at a loss.
He also used a String which is an object.
This was the hardest Kata i've ever done. Harder than some 2kyus easily.
What is the logic here? You lost me at the biquadratic root of 4m
Great minds think alike XD
no need to convert to int after using math.floor() :)
Wow u make it so smol
A harder problem would be to take n number of districts in a Democratic stronghold, and draw them in such a way that Trump still wins. XD
Who let yandare dev in here?