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.
OMG Congrats it's incredible
OMG, I didn`t know that there is such an easy way to deal with it.
oh f*ck, should have thought of this
I came up with this solution too :)
Thanks
This comment is hidden because it contains spoiler information about the solution
Still a bit confused. Description says integer arrays so wouldn't this solution fail if the missing element was a 0 or potentially a negative number?
Can someone please explain me how the above code works?
This kata is very simple but the description is clear enough. Only looking at test cases, one should write the code.
you have to do it without string operation
converting the x to a binary string using
const result = x.toString(2) ;
is not working in JS. The result is still remaining as x only.
There is a space at the end of the string, so no trailing exclamation mark -> remove them all.
This Kata is not clear in its explanation. From the description , it is given to understand that all the exclamation marks in the sententence to be except the tailing ones.
But the test case sample_test("!!!abc!!!! ", "abc "); result of the test case should be "abc!!!!. Here it appears different. Can any one help me to understand this.
Thanks, I had the exact same problem. The author definately needs to fix this.
thank you, this has gotten me much closer to passing, I am now only missing/messing up 1 piece
Loading more items...