Beta
Multiple Number Options
Loading description...
Fundamentals
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.
Needs random test cases
watch out for the double "the"!
Cheers tu6619, just fixed it :)
Hi, I think in the description you could give an example of what the function should return. Then the reader can figure out what they need to do with their results. Also, in your solution some of your arrays aren't sorted. If that's how it's meant to be, you'll need to give the reader the necessary information
Hi Tasnim, hopefully my changes made this a little clearer! Thank you for your comment.
Hi, I really like your Kata but I do not understand your Kata completely. How do you determine the order of items? It is not ascending I saw in your test example.
Hi FrankK, I have made it ascending now, matching the order os of the number, with the order of the the match, so "23" all the variations of "2" then match to the variations of "3" etc, I have also made this clearer, please let me know if there is more you think I should add :)
OK, it's great now! :)
Tests fail because expected area is not sorted ! eg :
Please sort expected results before comparing them with gotten ones !
Hi ZozoFouchtra, thank you for pointing that out, I have sorted that issue, so that the numbers have to go in acending order, no more 2's being after 9's! thank you for your feed back.
Fine, it works