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.
Would fail on "\n"
sort mutates source.
So to avoid side effects, it must be copied before use.
shortest one yet
bravo!
I really enjoyed this kata ~ vary interesting, thank you for sharing!
thanks for explaining~ you're awesome<3
@djdenton Apparently, I disabled the random tests one year ago and only noticed now. Now there will be fractional values for
n
.Seems like I accidentially removed the random tests 1 year and 8 days ago. Now
n
shouldn't be integral anymore.In order to solve it for arbitrary
n
's, you have to know some properties of xn, or rather other ways to write x1/n.How to solve if the values of nth aren't integers!?
I enjoyed this series and want to know more :D