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.
my solution would throw if both input streams were empty, while an empty stream could reasonably be expected in that case. this situation should either be explicitely ruled out, or tested for
needs a bump to newer Node versions
Interesting task!
To me it's the opposite. I think this makes it more complex, because the first
next
call behaves differently from subsequent ones.This comment is hidden because it contains spoiler information about the solution
I really couldn't imagine that this Kata is that level of a pazzle. It seems like a hidden bonuce quest about the Java language understanding.
I dont think that all the responses were helpful, but thank you anyway for spending time to answer me. ... and yes, I got through. :)
Read the statements that you find
Now focus on this part
Now add the semicolons of the imports with those of your code
Notice that the result of the above expression is not in your favor
Isn't that a semicolon?
you have TWO semicolons, please limit it to ONE.
That's why you get the 1 semicolon :P But that's it.
Can it be clarified? How can we write Java code without any semicolons? we need at least one for the return expression.
All non-lazy solutions are invalidated and no new have appeared in the meantime so issue seems sufficiently fixed.
Well, the 1 semicolon limit includes the imports too. It's not really a kata issue.
Another one string solution ^^. Good choice.
Thank you. I have enjoyed solving this kata.
Loading more items...