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.
Not an error - both 92 and 94 are missing from the sequence, so the sequence is invalid and the answer is -1
Mistake Test.assert_equals(missing("8990919395"),-1) !
It must be equal 92 or 94.
Mistake Test.assert_equals(missing("8990919395"),-1) !
It must be equal 92 or 94.
but it don't work with the dashes, apostrophes, etc
hi
In the test. Why i must return "\n" if given string is empty?
After reading this specific thread, I finally understand the problem! Thank you, might try this one soon, but not sure how I'd approach it...hmmm...
Did that, thanks for your translation!
hi goatmilk... Always consider with 2 base rules:
Take the example: 2-1-3-4.
From left to right (point of view), you can see 3 buildings because 1 hides behind the 2 but 3 does not hide behind the 2 and 4 does not hide behing the 3.
From right to left, you can see only 1 building. The 4 hides all other buildings because they are lower.
Does my explanation help you?
Hi :) Somebody, can you explain how i can see 1 or 2 after 3 skyscrapers ? I can't understand it;