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 saw some floats provided, so I chose to reject strings rather than select integers.
:::ruby description:::
trailing_zeros(7, 2) == 4
#7! = 5030 = 0b1001110110000, which has 4 zeros at the end
::: 7! is 5040, not 5030. 0b1001110110000.to_s(10) => 5040,
please, improve desctiption
Done a ton of research to be able to pass all the tests, but now optimizing to pass all the tests without timing out just feels impossible. This kata is only realistically solvable for people who've studied computer science or math. Very frustrating.
Done
There's a typo in the description. 7! = 5040, not 5030.
Python 3 should be enabled.
This comment is hidden because it contains spoiler information about the solution
coords
passed in are suspectible to input modification.Expected and actual values are flipped.
This comment is hidden because it contains spoiler information about the solution
No, I don't know that "old saying". And google doesn't know it, either. And I disagree with it.
I can't make a good and fair judgement of it yet. Did I say I can?
It's like Dr Phil said, I have no way of knowing whether I'm even making any progress or going in any right direction. I don't know whether it's possible for me to solve without happening to have certain knowledge, I don't know whether the background story details are hints, I don't know whether the "obfuscation" even is a function or whether it's injective... I have a feeling much could be clarified and preventing me from wasting my time, without spoonfeeding me the solution or even giving me hints.
Well, but you know the old saying: "everything I can't solve is
8dan
". If you don't know what the key point of a kata is, how can you make a good and fair judgement on the kata itself?(I don't like the whole attitude about this because it gives the wrong impression to newbies that katas should spoonfeed them, and if they're stuck they're entitled to think that it's kata's fault. This happens very often on, again, white/yellow katas (which brings misinformation and annoyance to almost everyone with a functioning brain) and I don't what this to infect the blue/purple katas too. I'm okay with people asking genuine questions about katas, but if they're trying to imply the kata has fault for not spoonfeeding them enough, I have huge problems with that.)
I don't want to forfeit. And I don't understand that white/yellow argument. I've looked into that other one before and while I haven't cracked it yet, it at least seems doable. This one here, especially after your "if you have experience on a very specific, particular matter" "hint", I don't even know whether it's possible for me to solve it. Maybe it's about some game or whatever that I don't happen to know, with arbitrary rules that I can't possibly guess.
Or you know, you can always forfeit the kata ;-)
If everyone's behaving like this ("this kata's unapproachable, so it must suck and the author should feel bad"), all we're going to have are white and yellow katas that everyone even with a dead brain can solve effortlessly. Are you sure that's a good thing?
(Also, in case you aren't aware already, there's https://www.codewars.com/kata/mystery-function-number-2. Have fun on that ;-))
Loading more items...