MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / main

Function main

tasks/88.go:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "fmt"
4
5func main() {
6 nums1 := []int{1, 2, 3, 0, 0, 0}
7 merge(nums1, 3, []int{4, 5, 6}, 3)
8 fmt.Print(nums1)
9}
10
11func merge(nums1 []int, m int, nums2 []int, n int) {
12 var i, j = m - 1, n - 1

Callers

nothing calls this directly

Calls 2

PrintMethod · 0.80
mergeFunction · 0.70

Tested by

no test coverage detected