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 support this opinion
Finally solved this kata \0/ \0/ \0/ , Sometimes the best way to solve a kata , is to forget about it , then come back after a few days and read again the instructions .
I get that , Thanks man !
You should not create new
Nodes but modify the existing ones.This comment is hidden because it contains spoiler information about the solution
Fixed! No idea how that happened, I guess I must've had that brace selected and hit enter or something during testing.
Rust:
Sample tests don't compile due to a missing
}.Approved (after some refactoring and clean-up).
Java Fork enforcing that the swapping is done in-place, to align with the other languages. the author's original solution still passes the tests, so correct solutions should be preserved.
Approved
Javascript looks ok.
At least in Java (my solution returns a brand new list only based on values). I don't know for JS, C requires in place mutation.
Python translation
Rust translation
Loading more items...