Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/trekhleb/javascript-algorithms
/ isEmpty
Method
isEmpty
src/data-structures/heap/Heap.js:209–211 ·
view source on GitHub ↗
* @return {boolean}
()
Source
from the content-addressed store, hash-verified
207
* @
return
{boolean}
208
*/
209
isEmpty() {
210
return
!this.heapContainer.length;
211
}
212
213
/**
214
* @
return
{string}
Callers
8
MinHeap.test.js
File · 0.45
MinHeapAdhoc.test.js
File · 0.45
MaxHeapAdhoc.test.js
File · 0.45
MaxHeap.test.js
File · 0.45
sort
Method · 0.45
dijkstra
Function · 0.45
getSCCSets
Function · 0.45
prim
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected