Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 780 Bytes

plots.org

File metadata and controls

25 lines (23 loc) · 780 Bytes

Priority Queue - With vs without Heap!

1 Best cases

1.1 Without heap - O(1)

../plot/img/fila_sem_heap_melhor.png

1.2 With heap - O(1)

../plot/img/fila_com_heap_melhor.png

2 Worst cases

2.1 Without heap - O(n)

../plot/img/fila_sem_heap_pior.png

2.2 With Heap: O(log n)

../plot/img/fila_com_heap_pior.png