AKUNA CAPITAL interview question

when you'll need to use a priority queue