6 kyu
Kingdoms Ep2: The curse (simplified)
234 of 515Schulzkafer
Loading description...
Fundamentals
Arrays
Regular Expressions
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.
I dont see the image :<
are u sure? because there it is
Now it is.
trashy_incel, thank you for editing voluntarily my katas :) I have found my first job in IT now, so I'll be off for some time in codewars :)
no worries :) best of luck for the job !
Looks like a duplicate to me.
Let the community decide uniqueness.
Ok, no problem.
the tasks are not similar enough to be considred duplicates. here you have to reconstruct the censored text, in the other kata you have to determine if one text is possibly a redacted version of another.
Amazing kata and I think it is very useful in real life as well !
thanks!
This was a really nice kata, thanks for creating
I'm really glad to see this comment! thank you! :)
How should I resolve:
given "", ["hell","weak"]
given "", []
return empty string
Thanks for the quick answer!
You are welcome :)
ImO the return empty string should not be needed.
In the Instructions it's clearly stated that: The minimum length of a word is 3; This one test seems wrong.
Python: actual and expected values are switched up in the tests
Fixed; verify, please
and thanks for reporting
fixed
I apologize for mixing that up... and thanks to both of you for reporting and correcting.
no problems :)
There are tests errs or did i miss something ?
in one of the test given speech is: "ow *v **** **u oq**y *t. sopq. qro**, qx", it's length //53 is expected in test 'qow qqqovq ooqqu ooqqu oqqqy ptqqq. sqopq. qropoo, qpx', it's length //54 3d word from 4 symbols (***) grows to 5 (ooqqu)
???
More then it:
given: "*** u**** t**** ***s *rh?".length // 27 'uiiih uiiih thigh gghs hirih?'.length // 29
etc.
is expected
is your result (to equal
is a right result). Are you sure that you got that speech? -"*ow **v **** u oqy t. sopq. qro, qx"
because it's impossible, accordingv to my testsif this is your result
'uiiih uiiih thigh gghs hirih?'
., is incorrecttry to read the description again, please
...because I verified the tests with other users' solutions again and it's ok
yeap, my bad, thx fro your time
Nice kata :)
isn't that a duplicate? I'm pretty sure I already solved something like that
One of the Hangman kata's? Or one of the Wilcard kata's (https://www.codewars.com/kata/546c7f89bed2e12fb300056f)?
hobovsky said "... If yes, then it's also similar to https://www.codewars.com/kata/550554fd08b86f84fe000a58 (but sufficiently different to not be considered a duplicate, I think)". Anyway, if you tell me that this is duplicate, I'll remove it quietly, because I prepared the difficult version for this case
Maybe it is, but with a 90+ percent approval rating, I approved it ( before I saw this comment ).
If it turns out to be a duplicate, the mods will have to fix it. Sorry.
thanks!
I remember there being a kata that also required the user to match wildcards ( * ), and similar regexes could be made. But I'm unable to find it.
I rmb one too, did it few months ago but can't recall the title ~~
Why can I see this kata on the main Kata page while it is in
Draft
mode?Can you still it now? It's unpublished, so nobody is able to see it, in theory :)
It's currently visible (to me). It is the only
Draft
kata I can see.same here, is it related to followers/allies status?
I believe it's visible to anyone. That's a first, afaik.
I've published and unpublished it now, I think it's OK now because I can not see the kata on the main page anymore
Okay, so I've also managed to solve it. EDIT: I realize now it happend in that brief moment while published.
have you already resolved the kata? It's good because the description can be short, if you already understood the task :) but I'll publish it when I finish the difficult part, to make sure that one of
...these katas have a novel