6 kyu
Touch Typing
153 of 168MuffinGuest
Loading description...
Regular Expressions
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Prolog translation
Another great kata ~~ ^^
Haskell translation
Nice kata. :) Random tests with spaces should have been more extensive though.
Hey I like this kata but I think there is a mistake in the second test. Test.assertEquals(touchType(' two spaces'), 'LLLLRLLRLLLL', 'Should work for the description examples') The first 'L' ist right because there was no char before. But the second should be a 'R' because its a space as well and we typed the char before with 'L' or am I wrong?
Nope ;-)
Pretty nice!
One thing that tripped me up in the description was:
The digits lower than 6
. In the rest of that paragraph, you format it as:letters of the second row before (including) «g»
, so I assumed the numbers work similarly, including the «6». You could tweak the wording to follow the same pattern to avoid this confusion.