Pergunta de entrevista da empresa CrowdStrike

How to implement an Iterator of several sorted iterators?

Resposta da entrevista

Sigiloso

8 de mar. de 2023

I provided some different solutions for this which included: 1. Merging the sorted arrays on instance creation to some kind of Heap structure. 2. Going through the next sorted value during `.next()` I feel both are okay solutions that will address better different needs.