Beta
Hero suffix quest
Loading description...
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.
The actual tests contain digits as well as characters, and digits and characters do not have a natural ordering between each other (unless something like ASCII code order is assumed).
You're right. I've added a note on string ordering.
I've tried my best ... but I have no idea what's the goal of this task.
I understand, that it's supposed to look like a riddle, but in my opinion Katas on this platform should be clear on what are the requirements and what's the goal.
I thought I've understood the task and passed the training tests, but then random test came and I have no idea what am I expected to do.
Please, provide a more clear explaination and/or an example.
I will be happy to help you, but don't want to kill all the fun with this kata, not yet. I did not test your solution, but it can be that it's not sorting what should be sorted. And, in random tests, do you get errors, or timeouts?
I think it can be closed now.
Hey Elminster, without hitting the "train" button, it's not that clear what is expected. Is this a puzzle? If so, add the appropriate flag.
It is
but yes, it's hard to see and also hard to realize what "ordered suffix" means.
I did not think of it as a puzzle, rather an optimization of naive solution. And you're right, it was hard to realize the goal. Hope it's a bit better now.