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.
I think it would have been better if you had tried to get to the algorithm properly. You would have learned more. Using the solution is good when you already know how to get to the solution.
A little disappointing to see that there is already a solution to the problem. Surely that function uses the same algorithms that we are supposed to write. But using this solution takes away all the fun from the problem. It's literally like writing a "hello world." The only value of the kata itself is having discovered that this function exists, I guess.
Some people just want to watch the world burn
This comment is hidden because it contains spoiler information about the solution
I mean it is simple and clever, but in a big teams sometimes happens that other coders could read such short expressins wrong. misunderstanding. for example here if you use parseInt(inputString[0]) it would be more visual recognisable according to task discription.
Apologies, but can you please explain what is difficult to understand?
Very clever, but such disisions are difficult for understanding by others if you work in a big team...human factor is coming)
I don not understand why come here to practice and answer just by using built-in methods.
As of 2024, the expected answer for this assertion is 1.56, which is the right one, closing
it's not a completely ridiculous solution though.
This is genius!
You have to return Output.. Not print them..
please update the test module because dosen't work. when ı try my function and input that test's inputs works on colab but dosent't work here.
Description should be language-agnostic
Very nice, actually, in this case, the
self
is redundant, you can provide but it is not neededLoading more items...