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.
fun is a function that returns True or False, depending on the input, we dont know how it operates inside,
we actually dont care, all what we care for our code is to check if all of the output from that function,given
the sequence that is given as well, is True or not, if all the output was True then our function returns True
otherwise our function returns False.
Looks like brute force approach, anyway happen to be. Good.
removed in latest fork.
Very elegant!
This comment is hidden because it contains spoiler information about the solution
smart
Nice comment indeed. Thanks. I wish the variables were also more self explanatory.
clever with comments, but a bit long
sorry for this pi not equal 360 degrees and 180 / sides gets the half the measure of a central angle
Thanks so much for this thorough explanation but I didn't get why 360/sides (pi/sides in radians) equals the measure of that angle
interesting comment format
Thanks for the comments!
yup. although i did the same thing
sigh
How did this get so many Best Practice Votes?
First building a dictionary, then checking each key how many odd letters exist..
I don't get the voting here
Loading more items...