You need to sign in or sign up before continuing.×
6 kyu
WOW-signal!
Loading description...
Strings
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.
Insufficient test coverage causing such solutions to pass easily
how does " 1 2 34 4 22 ABCDD 32 98BCC AF 65 F " jam?
Don't even bother answering, I'm skipping this kata.
There's at least 4 signals (if I see that correctly; I remember nothing of this kata).
JS version has output to stderr because
assertSimilar
is used (whenassertEquals
is perfectly fine for the test).Fixed
I read your Kata description, but I still don't know your rules, and I have to keep trying and guessing ;-)
Can you explain the following examples?
In this case, why D2 and D1EFDF is not WOW?
In this case, why only 9 is a WOW?
oh, I missed rule
above 6
Now, I only failed on this one:
Why?
Thank you for feedback. The WOW-signal consists only from letter and digits above 6, so D3 is not a case. And signal will be suspicious only if it has 4 or more short WOW-signals. In the example above sequence has only 3 short signals.
I will give more examples in description, thx.
For me it's a really unclear description and unclear testcases too, there are different possibilities to handle your given details, but nothing really fits togehter. Perhaps you will ask me for details, but just don't know where to begin;-)... Perhaps i'm to quick, haven't recognized each detail, so only on short example (your example): " 445 295 7F 11 23 6654 1 A " ==> "7F A". "7F A" is shorter than 3 so why not "...suspicious attempts to spoil our work"? And "7F" < 3 and "A" < 3 too, so what has to be consided, parts or complete string without spaces? There are similar other points too and the results of your random tests don't help too, same problems and for me strange...
Just saw your answer to the hidden issue (after i submitted my points), so perhaps same problems...
Thank you for reporting. Yes, description may be unclear in some moments. Thank you for telling which parts aren't easy to understand.
I will fix description as soon as possible to make it more easy to understand.
This comment has been hidden.
Thank you for reporting an issue. Yes, there is a problem with unclear description. The signals below or equal to five should be considered as short.
Sorry for that, I will rewrite the description.
Now it is ok. Thank you.
.