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.
.
Dup
"First" and "longest" are superlatives that do not necessarily reflect the same element in a sequence.
After some consideration, I believe the confusion arises from a very common unawareness of how a superlative can apply to more than one element. However, to more easily interpret it this way, there has to be a plural somewhere.
For that reason, "first longest string" is easily (mis)interpreted to mean "the first string longer than any preencountered string", because there is no hint of plurality.
Hence, I think the criteria "first" and "longest" are confusing and in need of qualifiers, i.e. "first string among those that are the longest length", which is much harder to misinterpret.
Yea, it's taking a while to understand what to fully expect from the output.
The also felt that the requirements for this are definitely very unclear. I had to look at the desired output quite a few times to figure out what was really being asked.
I like paul's suggestion a lot to make things more explicit and clear
I will think to your proposition but it is rather a "suggestion" than an issue:-)
Thanks for your feedback!