AKUNA CAPITAL Interview Question

when you'll need to use a priority queue