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.
clean
I've just about done something similar, but my solution needs to be perfected
this solution will change the input parameter
list
by referencenice
Why is this labelled best practice if we're using two casts when only one is needed?
Is is gaining performance by using the
.00
in the TO_CHAR instead of ROUND() to get to two decimal places?This comment is hidden because it contains spoiler information about the solution
Treating the whole array as a string is even better instead of iterating over it :)
good solution for closure practicing
i tried to find fking mistake about 20 mins in my own same code. I wrote
Javascript
instead ofJavaScript
....Would have saved myself alot of time with this approach vs. writing a million if statements.
Yes, there's a difference. Your solution in fact more performant than the OP's solution. His solution has O(n^2) time complexity and yours is O(n) meaning it's much faster.
I tried to go this route, but I did not have in mind to merge the two like that.
Such a brilliant solution!
this is good
regex is amazing.
Same here, I couldn't figure out how to implement regex like this one then I gave up xD.
Loading more items...