Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
26
type
MinHeap []int
27
28
func
(h MinHeap) Len() int {
29
return
len(h)
30
}
31
func
(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