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.
ðŸ˜
LOL. I've very much written code like that :) (i.e. trying to emphasize some aspect and losing my follow code reviewers). Code clarity is Hard.
Thank you for the reminder, it is a very good lesson
Amazing! I liked your solution. I learned something new not.
Very clever! Also note you could early exit with 'false' in the loop if r ever goes negative.
tf is this
Approved with some adjustments after 9 years :-)
thank you for your service
Me too! It is so long since I wrote this.
The
return *sz, ret;
is really same as justreturn ret;
but I think I was trying to emphasise that thesz
is also a "returned" value. Probably it was unnecessarily clever (?) and caused more confusion than anything else.This comment is hidden because it contains spoiler information about the solution
this is good for solving
Your code is wrong. Not a kata issue, it fails tests like this one:
Also note this:
I got the error Expected bobcat to equal '??'. But bobcat does exist in ANIMALS! I use console.log to watch if I was doing something wrong, but I was not!
I was doing in javascript!
Enabled in this fork
Because array indices start from 0.
Loading more items...