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.
Problem solved, It is acutally more obvious than you think xD
If it moves all of the boxes at the same time in either direction then shouldnt there be exactly same amount of boxes on each column? Or is there something Im missing here, like is the cubes inside a box with walls so the outer cubes wont move?
I leveled up to 4 Kyu with this Kata, but I may have overcomplicated it XD.
Well, I used it to train separating my code into many functions, so I did exactly that.
thank you that pointed me to what i needed
Read this: https://docs.codewars.com/training/troubleshooting#print-input
This comment is hidden because it contains spoiler information about the solution
LC translation
Sorry didn't realise I marked that as a suggestion :D
Ok, that's your opinion.
There is an obvious way of doing this if you can spot it, but I feel it would be better to try and learn to manipulate the data in the 'physical' way it's meant to be done.
Else you're taking a shortcut and gaining nothing in terms of your own progress, however it's nice to learn to 'spot' these things.
you know the feeling when you are a native English speaker and decide all of a sudden to learn japanese but you know absolutely nothing whatsoever about this language? not even a simple letter... this is exactly what i feel rn, litterally
Approved
HINT: It's more obvious than you think. REALLY look at how the output is changing compared to the input
Scala translation
Loading more items...