--

That could work... Merge-sort is sort of what the "other" approach (towards the end) does. But you have files sorted chronologically and you really need them to be sorted by CustomerId then PageId to merge-sort them for this particular problem, I think.

--

--

Carlos Arguelles
Carlos Arguelles

Written by Carlos Arguelles

Hi! I'm a Senior Principal Engineer (L8) at Amazon. In the last 26 years, I've worked at Google and Microsoft as well.

No responses yet