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.
Unfortunately this kata is lacking details about the various tests, i.e. related to \n
Doing this problem with
.sort()
results in O(N log N) time.One can achieve O(N) time by manually merging the two sorted list.
Server tests include performance tests. You need to get your execution time down, otherwise your code will timeout and it will fail. There is no way to print out the tests because the strings are huge.
This comment is hidden because it contains spoiler information about the solution
A more explicit description for this kata would have saved us all a lot of frustration.
just kidding ;)