id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

frew@mclean.com heap-1

Practicing heap array indices:

otherChildHeap  grandparentHeap 

Using Java's PriorityQueue:

No Arrays.sort/Collections.sort! Only one pass over the array! Use the PQ constructor that takes a list whenever possible!

priorityQueueSmallest  medianListOdd H   medianList  find2ndSmallestList  sumNSmallList 
Authoring docs

Copyright Nick Parlante 2017 - privacy