Skip to content

Commit 1081638

Browse files
authored
Merge branch 'master' into test_travis-ci
2 parents dfde398 + 1934e38 commit 1081638

18 files changed

+19
-19
lines changed

structures/Heap.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// intHeap 实现了 heap 的接口
44
type intHeap []int

structures/Heap_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"container/heap"

structures/Interval.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// Interval 提供区间表示
44
type Interval struct {
@@ -50,4 +50,4 @@ func partitionSort(a []Interval, lo, hi int) int {
5050
}
5151
a[i+1], a[hi] = a[hi], a[i+1]
5252
return i + 1
53-
}
53+
}

structures/Interval_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"testing"

structures/ListNode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"fmt"

structures/ListNode_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"testing"

structures/NestedInteger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// NestedInteger is the interface that allows for creating nested lists.
44
// You should not implement it, or speculate about its implementation

structures/NestedInterger_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"testing"

structures/Point.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// Point 定义了一个二维坐标点
44
type Point struct {

structures/Point_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"reflect"

structures/PriorityQueue.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// This example demonstrates a priority queue built using the heap interface.
44

structures/PriorityQueue_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"container/heap"

structures/Queue.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// Queue 是用于存放 int 的队列
44
type Queue struct {

structures/Queue_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"testing"

structures/Stack.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
// Stack 是用于存放 int 的 栈
44
type Stack struct {

structures/Stack_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"testing"

structures/TreeNode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"fmt"

structures/TreeNode_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kit
1+
package structures
22

33
import (
44
"reflect"

0 commit comments

Comments
 (0)