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.
It is so useful. Thank you brother.
suggest change to num<=0, otherwise it will return -0
Lambda is sweet and sour at a same time
lambda is pretty mighty 0_0
no! it's hard to understand
cool
It is very easy to understand? its just a more concise if else statement.
When I specify 0, the code outputs -0, but this is incorrect according to the task requirements.
nice!
oh I had an extra line where I defined it as a const then returned it. I need to get into the habit of doing it like you!
u made it like me bofore 4year ago
Mark your post as having spoiler content next time.
This comment is hidden because it contains spoiler information about the solution
tbh it took me around 2 months ish cuz like i solved problems for like 90 ish minutes a day when i started i was so buns ngl but rn i can solve 6 kyu problems and sometimes 5 i can't solve 4 kyu ones yet :) i say keep grinding
finally, my solution matches the highest ranked solution
Loading more items...