Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ main
Function
main
tasks/34.go:5–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
import
"fmt"
4
5
func
main() {
6
nums := []int{1}
7
fmt.Print(searchRange(nums, 0))
8
}
9
10
func
searchRange(nums []int, target int) []int {
11
ind := len(nums) / 2
Callers
nothing calls this directly
Calls
2
searchRange
Function · 0.85
Print
Method · 0.80
Tested by
no test coverage detected