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.
I added a sentence with your suggestion to the details:
"If all the words in the given array mesh together, then your code should return the meshed letters in a string. You should return the longest common substring. You won't know how many letters the meshed words have in common, but it will be at least one."
I changed it to:
"If any pair of consecutive words fails to mesh, your code should return "failed to mesh"."
Is that acceptable? Clearer?
That comma and the 6 would be typos.
Fixed.
Fixed.
Thanks for looking at it.
I made some changes in the description and added some examples.
Please take a look.
(And, I got to use the word "behemoth". I like that word!)
Thanks.
I added that.
See Issue entered by FArekkusu and the reply to the resolve the Issue.
Additional static tests with names were added.
The random tests were updated by adding names to both the start and end arrays.
Both the new static and the new random test values in the arrays have names that can appear at the beginning of the test string, the middle of the test string or at the very end of the test string with a period at the end or no period at the end.
Thanks for pointing that out.
Hmm...I ran your solution and it didn't pass.
The description says "The location name will also include those words: "Park", "Preserve", etc."
Maybe that should be clearer.
Your fixes are most welcome.
I hope others can try this challenging kata. It takes time and patience. I coded many versions before finally working it out.
Thanks for that explanation. I cannot get to the Python version of the kata to edit it. So, HerrWert is going to have to do it. The kata is not under my list of Authored Katas. I just added the Python version. I will keep searching for a way to get to it. It has been a long time since I added it.
Thanks, Ching Ching. I am looking at this.
Isse 1: Yes. I see that the example I added in the description text has a different function name. That is easily changed.
Can you please change the test case function name from "score_pole_vault" to "solution" ?
And, there is text just above this that reads "And example follows:".
Can you please change this to "An example follows:" ?
Or, can you please tell me how I can edit the kata's descrption? It does not apper under my list of Authored katas. So, I cannot get to it on that page.
Issue 2.: In the case of ties, you may not have every place scored. So, if that is in the description text, just update the description text. But, I could not find that a peron's code needs to return an answer of 1st, 2nd and 3rd for all test cases as a requirment in the description. I will look again. The very first sentence in the description seems to imply that all places need to be determined: "Your task is to determine the top 3 places in a pole vault competition." But, the rest of the description explains that there could be ties. You could change this to something like: "Your task is to determine the placement of competitors in a pole vault competition."
An example: There may be cases where there are two people tied for first. In that case, there wouldn't be a second place. There would be two people tied for first and one person in third.
Thanks for this Kata. The keyboard made it very interesting.
Thanks. I hope some people try it and take the time to figure it out.
Loading more items...