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.
This comment is hidden because it contains spoiler information about the solution
just repeat it with console.log in every step. its really great solution
please, tell me why are you doing code like this, is it an element of some training, what is this train?
❤️💪
найбільш читабельне рішення з поміж всих
cant understand how it works, in a first if we compare first and last element in array, and in case if it aint equal moving forward.. but how it works when array is like [ 0, 0, 1, 0, 0 ] here are the first and last element are the same
for this time i dont know that the Set can work so, it's a real magic for me, it's realy awesome
what method slice doing here?
thanks, i gas i dumb i dont understand anything(
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
how does it work, when indexOf works one time with one item?
What is "Set"? i didn't find about it nothing.
This comment is hidden because it contains spoiler information about the solution
genious
How does it works???? anyone can to explain?
Loading more items...