This comment is hidden because it contains spoiler information about the solution
Please fix the grammar in the description. Instead of "Remove a exclamation...", it should be "Remove an exclamation...".
My solution started out like this as well, but I used !== and ===, which failed the tests.
I wish I had thought of preg_replace.
I think the i and s modifiers are not necessary.
i
s
See [min(4, sizeof($names)] at the end.
I see this solution has 9 "Clever" votes, but only 1 (mine) "Best Practices" vote. Is that because Dart does not support tail optimized recursion yet?
For the list [1, 2, 3], is step not going to be (3 - 1) / 3 = 0.6666, instead of 1?
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Please fix the grammar in the description. Instead of "Remove a exclamation...", it should be "Remove an exclamation...".
This comment is hidden because it contains spoiler information about the solution
My solution started out like this as well, but I used !== and ===, which failed the tests.
I wish I had thought of preg_replace.
I think the
i
ands
modifiers are not necessary.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
See [min(4, sizeof($names)] at the end.
I see this solution has 9 "Clever" votes, but only 1 (mine) "Best Practices" vote. Is that because Dart does not support tail optimized recursion yet?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
For the list [1, 2, 3], is step not going to be (3 - 1) / 3 = 0.6666, instead of 1?
Loading more items...