Glovo interview question

Algorithmic task with 2 heaps. Average cultural fit interview