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 found your objection here confusing until I thought about it.
Fundamentally, I agree. However, I think the underlying problem isn't the logic of planets leaving the system. That's a symptom. The problem is that the orbits change. As you note, if a planet leaves the system on the left, all other planets shift to fill lower orbits. However, if a planet is destroyed the same thing happens. The logic is consistent and solvable, but it's weird. There's a sort of extra movement built into it.
My biggest complaint, I think, is that the series didn't build upon itself. It would have been great if each new entry in the series added instead of being essentially the same with a different skin.
Thank you @dfhwze.
"Best Practice solutions tend to be a good balance of performance, readability and maintainability." It's neither.
beacause its funny
I didn't know I could do this before I did it...
Is the ASCII the kid or a monkey? Also, why are people voting this as a Best Practice solution?
This comment is hidden because it contains spoiler information about the solution
the goal is to create your own permutations function
It is not exactly a solution, it was also marked as spoiler. What I meant was that this kata requires little effort. It's more of a remark than a solution.
Please dont post solutions in the discourse
This comment is hidden because it contains spoiler information about the solution
Updated.
The color of the heading "Example" and the "p.s" at the end makes it hard to read in light mode.
Yeah, well, whatever.
I still find the logic pretty bad (edit: well, "kinda") and the kata of the series are effectively kinda turning into duplicates of each others. But frankly, I'm more pissed at the beta testers who never brought up the matter in the 'zillions of previous iterations.
OK. I'm working on a different one.
Loading more items...