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.
Fixed - added explicit require in tests
Typescript translation kumited. Please review and approve.
Java translation, please review
Should be fixed now
Should work correctly now, at least my solution has passed
TypeScript translation
Please, review
Java translation Please, review
Java translation
My first translation on CW :)
Please, review.
You can try throwing
RuntimeException
.Thanks for this comment! Helped me to understand why I was failing with some test cases.
While I was debugging my solution this kata really felt like 1 kyu. However, if it had example tests fixed and improved (extended) description, it would definitely be worth 2 kyu.
Hm... I grasped (wrong guess, according to your comment) from the details page, that we should put
0
under the pointer.The last part of the explanation of
,
operator: "If the end-of-file has been reached, outputs a zero to the bit under the pointer."Today got this issue in Java. However, when I attempt someone else's solution there are only 8 test inputs in "testValid()" method. Is it possible that test cases differ for different solutions? Or am I missing something here?
P.S. Yes, my solution is a dumb one, but don't be too severe - I am new to programming :)