MCPcopy Create free account
hub / github.com/austingebauer/go-leetcode / Len

Method Len

find_median_from_data_stream_295/solution.go:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26type MinHeap []int
27
28func (h MinHeap) Len() int {
29 return len(h)
30}
31func (h MinHeap) Less(i, j int) bool {
32 return h[i] < h[j]
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected