Wednesday, December 28, 2016

HackerRank - Data Structures: Heaps

Dec. 28, 2016

Min Heap using Array 
Learn something through 10 minutes video. 
Watch the video: 
Data Structures: Solve 'Find the Running Median' Using Heaps

Data structures: Heaps 
Julia, write down the code in the above lecture video, and then use it for my own copy of C# PriorityQueue class. 

Min Heap:  

The lecture is very good, and make the explanation to mine; learn how to design those APIs:

ensureCapacity
add

heapifyDown
heapifyUp 

Watch the lecture notes twice. 

Actionable Items:

Read code review on stackexchange.com

search keyword: min heap using array
http://codereview.stackexchange.com/search?q=min+heap+using+array

No comments:

Post a Comment