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.
It's easy to explain ;-)
arr.shift()
You've modified the array
arr
, which is the input arrayHi, @Aloap,
I'm sure that the correct answer should be the
initial array
whenn=1
.My validate function include this at the first line:
if(n==1) return arr
So perhaps something is wrong at other place. Could you tell me the details?
EDIT: my result in random tests:
If you have selected one by mistake, just click it again in the upper right corner and the traditional shortcuts should be available again.
And you don't want to start with VIM or Emacs if you are not ready for a tough ride.
[No worries for the n00bness, we have all been that at some point in time. Plus I need to support female coders to further stereotypes on the Italian flirtatious attitude ]
AFAIK you can, as I did it in the past and it seems all fine now: which problem are you getting for it?
Piacere mio [I suspected you could speak my language by your name, but you tell me]; thank you for your kind feed and glad now it passed :)
That is a lovely place to put your code, but I can see there is a flaw: try to
console.log()
the input and to figure out which should be the correct reply when you fail a test.