sort mutates the original array so spreading here creates a new reference and avoids mutation. Not necessary in the exercise, true, but still worth using in a real application
Part of them probably did. You can notice many of them have 8kyu ranking. That probably means moderators remvoed their honor points for doing it. Others could just copy the solution and test it after solving regularly the kata, which is fair.
lmao. TDD all the way.
sort mutates the original array so spreading here creates a new reference and avoids mutation. Not necessary in the exercise, true, but still worth using in a real application
Part of them probably did. You can notice many of them have
8kyu
ranking. That probably means moderators remvoed their honor points for doing it. Others could just copy the solution and test it after solving regularly the kata, which is fair.Not a kata issue, which data type is
iterable
there? Print the input.Too late to change requirements.
Thanks :)