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.
amazing superstar code...hats off
No offense, but if I saw this in a PR, I'd immediately reject lol
best use of mathematics and logic! well done >>>
I think a lot of people treat best practice and clever as if they are the same thing. I think a lot of us don't have experience coding in a production environment so our concept of what "best practices" entails is nebulous at best.
this is what i wanted to see
Well this is efficient code and a one liner which aren't that easy to get for beginners. So that's why I think it's reasonable to vote "Best Practices"
Cool approach
One line - okay - but good luck giving that to a new engineer, or comparing it to the requirements in a code review, or for that matter remembering what you did three weeks from now. LOL
x can be subsituted with _ for an unused variable
Very clever but not best practice at all. It is not the easiest solution to understand. I do not know why some people vote it as "Best Practices".
This comment is hidden because it contains spoiler information about the solution
bruh
Very cool solution
i did it also in 1 line but little different lul
thank you so much! still getting the hang of the syntax <-- n00b. you made one lil girl happy today, karma kudos to you!
Loading more items...