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.
ah much clearer, thanks guys!
Given a string, return True if that string can be typed by alternating left hand and right hand key presses. For example, the string 'if' should return true, because 'i' is typed with the right hand and 'f' with the left hand. The string 'word' should return False, because 'r' and 'd' are both typed with the left hand.
To type a comfortable word, you should use one hand for the first letter, then the other for the next one, and so on. If two consecutive letters use the same hand, it's not a comfortable word.
Which letter uses which hand is at the end of the description.
I am also having difficulty understanding the description =\ Would anyone mind paraphrasing the problem description in a different manner?
It passed when I used it.
942541 should be true. hehe what language are you using?
maybe double check the log.
Both are True (in Python version)
Should be fixed now, if not, open another issue.
Which language is this?
Fixed.
Now you have to return nested arrays in javascript too.