Skip to content

Commit fcd2655

Browse files
Alexander ChernikovAlexander Chernikov
authored andcommitted
edit mainFunc name
1 parent c18739f commit fcd2655

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

leetcode/0910-Smallest-Range-II/910.Smallest Range II.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package leetcode
22

33
import "sort"
44

5-
// SmallestRangeII ...
6-
func SmallestRangeII(A []int, K int) int {
5+
// smallestRangeII ...
6+
func smallestRangeII(A []int, K int) int {
77
n := len(A)
88
sort.Ints(A)
99
var ans int = A[n-1] - A[0]

leetcode/0910-Smallest-Range-II/910.Smallest Range II_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func Test_Problem910(t *testing.T) {
4242

4343
for _, q := range qs {
4444
_, p := q.ans910, q.para910
45-
fmt.Printf("【input】:%v 【output】:%v\n", p, SmallestRangeII(p.A, p.K))
45+
fmt.Printf("【input】:%v 【output】:%v\n", p, smallestRangeII(p.A, p.K))
4646
}
4747
fmt.Printf("\n\n\n")
4848
}

0 commit comments

Comments
 (0)