MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / getAliveOne

Method getAliveOne

chapter05/problem_m/Main.java:91–104  ·  view source on GitHub ↗

주어진 큐에서 제거되지 않은 원소들 중 가장 우선순위가 높은 원소를 반환 @param heap 대상 힙 @return 가장 우선순위가 높은 원소 @throws NoSuchElementException

(PriorityQueue<Element> heap)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

getMinimumMethod · 0.95
getMaximumMethod · 0.95
popMinimumMethod · 0.95
popMaximumMethod · 0.95

Calls 3

peekMethod · 0.80
pollMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected