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.
You have absolutely no idea what you're talking about. This is an equation based on math equations since the discovery of Euler's number in the 1700's. It's probably the easiest way to solve this problem, provided you understand the math and remember the formula. Personally, I solved this w/ a while loop b/c I couldn't remember the formula w/o checking, but your analysis is f-----g absurd.
Sometimes single-line/method-chaining/nested-methods can be the coolest, easiest to read, most performant way to do something. Other times it a self-gratifying, useless, tortured attempt to say, "look, I can do this with on a single line!" This is certainly the latter. Single line does not necessarily equal good.
This comment is hidden because it contains spoiler information about the solution