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.
You can see comments of a solution of a kata you haven't solved as long as you have the direct link to it, so they should be spoilered.
This IS the page for solutions, what are you talking about?
Closing as non-issue
if they hint/reveal the solution, yes!
The randomised test data can produce inputs with multiple periods with equal visit counts. This proposed solution should include
v1.entry_time asc
in the order by to pick the earlier event in that case.Without the order by it is liable to pick the later group, and that's the wrong answer here (as
when_happened
should be the earliest timestamp).could also use... the spoiler flag...
hyper573's solution seemed like invalid on first look, but it turned out to be correct - i've updated my first comment back then.
His example does overlap, just not bidirectionally - thats how his solution works.
Kata's test cases were extended soon after that comment.