MCPcopy Create free account
hub / github.com/course-dasheng/fe-algorithm / left

Method left

interview/heap.js:50–52  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

48 return this.arr[1]
49 }
50 left(k){
51 return k*2
52 }
53 right(k){
54 return k*2+1
55 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected