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.
@nUG48YpaiHBG you mean in terms of performace?
You're troll :)
Turned out output format is dumb af. Printed log inside a drop-down triangle is actually for following test. So, my code in fact fails on
12341234 [DIeF IeFD 12341234 41234123 34123412 23412341]
. Sorry for bothering.I can't think of anything that prints nothing at all. Even
(println "" [])
would print at least[]
.Clojure version, one test doesn't pass.
Trying to figure out why with
(defn contain-all-rots [strng arr] (println strng arr) ...
and get nothing but
expected: (= act exp) - actual: (not (= false true))
for it. The rest tests print out log as expected :\Just for lulz?
It works just fine in this form
two_count=lambda n:~n&1and-~two_count(n/2)
, no?what
c
is for? to makec(n/2)
shorter?Can you please explain that last line? It's not very intuitive as for me.
Wat's going on here?
Aww, man, couldn't you come up with more elegant solution? :(
Bruteforce, huh? :D
Thanks :)
It would be helpful if you put such example in the description for dumbasses like me :D I really missed that point. Maybe because it wasn't stressed enough.
Oh, man, kata description is so incomplete.
Loading more items...