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.
omg XD i just make it long
you write whats under the Math.min function so dont fell dumb, now you know how to make it faster
Same bro
this is best code bro
This is actually the best solution instead of using random loops.
Tad bit late on this, but hopefully helpful for future users:
The way this function is written is in the arrow function form but it's ultimately the exact same thing as doing the regular function declaration form that you wrote. Just returns 1 line instead and makes the code look more clean.
wow!! that's nice
when you want to solve a problem, better way is using the fundamentals of the language not the built-in function.
This comment is hidden because it contains spoiler information about the solution
devils in the detail with this one
Classes are just syntactic sugar meant to encapsulate code and abstract(hiding unnecessary details) code. The code would still work in this case without classes and by simply just writing the function
chatgpt (not to be offensive)
Yes Of Course it can simply work without classes. Just write the function outside of the class code block literal and invoke the function like this: findSmallestInt([23, 45, 67])
This comment is hidden because it contains spoiler information about the solution
same here lol
Loading more items...