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.
Yes, yes, yes! THIS.
Yes this would be very helpful, especially when some of the sample code condenses everything into one line
How about a badge for completing a kata on mobile? I wouldn't attempt anything to complicated because of screen size but one liners s work!
great idea!
It could be nice if we could vote for the most "pedagogical" solution, it may motivates players to write self explanatory code.
Structured and commented code is not what everybody writes, but if encouraged it may help beginners getting some key concepts.
I'd personaly have return 0: "If more than one valid result, return the smallest index."
They all have a score difference of 1, so why not take the smallest index ?
"IS" is worth 8 points.
Also, why
elsif 79 <= ...
? shouldn't it be 81?This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi AI2EJAY
A Few things :-)
your console.log is set to <= 5 but your IF statement is set to <5
This is not an issue but a problem with your code. Please check this before submitting an issue as the author will loose points.
Please surround your code with three back ticks so that it can be easily read
If there is code in your comment please tick the spoiler flag
Hope this helps :-)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
@Madcowe
و كفى بالله شهيدا
oh wow @uniapi reading this you just get worse xD
nobody owes you any apologies, you're the one being rude to people, not people being rude to you
oh yeah, and you also decided to start a public drama by calling out someone lmao
Loading more items...