5 ms·
Not OP, but you could have a priority queue where you acknowledge each element as up/down/neutral and the change in score that you provide would affect it's loc
by Bonooru 4y ago
Not OP, but you could have a priority queue where you acknowledge each element as up/down/neutral and the change in score that you provide would affect it's location in other people's queues.