• ###### Chrono79commented on "Reversed sequence " javascript solution

Use spoiler flag next time please.

• ###### nadershbibcommented on "Reversed sequence " javascript solution

This comment is hidden because it contains spoiler information about the solution

• ###### konticcommented on "Fastest Code : Equal to 24" kata

This comment is hidden because it contains spoiler information about the solution

• ###### KovDimaYcommented on "Fastest Code : Equal to 24" kata

Hahahah, 8000??? ðŸ¤¯

• ###### dfhwzecommented on "Connect Letters" kata

22 tests? I'm passing 32 before timing out. How many tests are there?

cool!!

• ###### Ed_Medvedcommented on "Reversed sequence " javascript solution

This comment is hidden because it contains spoiler information about the solution

• ###### JohanWiltinkcommented on "Prime Fun #2" javascript solution

Reference solution and submit tests have been updated for `[3] => [3]`.

You're handling `[2]` but not `[3]`.

• ###### Chrono79commented on "Find min and max" javascript solution

It's the spread operator and no, you can't use an array there, the method won't work.

• ###### de_g3ntl3m4ncommented on "Find min and max" javascript solution

What does the ...arr mean? is it basically just saying to use that arr? do you have to put ...arr or can it be just arr?

• ###### Wintersproutcommented on "Create Phone Number" csharp solution

I like this answer the best. Why use a car when your destination is only a meter away?

• ###### sc2-zobkacommented on "Create Phone Number" csharp solution

lol easiest way possible then I couldn't imagine this one xD. We Salute you! xd

• ###### maksymczechcommented on "Find min and max" javascript solution

O(2n) ~ O(n) :D :D :D

• ###### emgordon154commented on "Find min and max" javascript solution

I assume ImmePak meant that the function iterates through the array twice: once to find the minimum, and again to find the maximum. Thinking about performance, it's theoretically unnecessary and somewhat inefficient to do that. (I don't know whether V8 optimizes it away; I assume not).

However, I find this solution simple and easy to read. If this function would be called infrequently and on small arrays, it would waste only an insignificant amount of time.

• ###### maksymczechcommented on "Find min and max" javascript solution

What do you mean by "array double check"?