Implementing heaps

Date: April 8, 2023

Topic: Heap & Graph Search Algorithms

Recall

Heap intro

Question

Q1 Find smallest kth elements form an unsorted array(size n)

Representation of graph

图里常见的search

经典例题BFS-1:Level order

get Keys in binary tree layer by layer

Notes

3531CF8B-DF3E-429B-9344-7FD3F0AAD623.png

Breadth First Search BFS -1


<aside> 📌 SUMMARY:

</aside>


Date: April 8, 2023

Topic: Heap in Java(PriorityQueue)

<aside> 📌 SUMMARY:

</aside>


Date: April 9, 2023

Topic: Practice 10 Implementing Heaps

<aside> 📌 SUMMARY:

</aside>