Skip to content

Commit 9af7b1d

Browse files
committed
refactor package
1 parent b48041f commit 9af7b1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/array/majority-element.go renamed to src/election/majority-element.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package array
1+
package election
22

33
// https://leetcode-cn.com/problems/majority-element/
44
// `Boyer–Moore majority vote algorithm` aha-algorithm/paper/A Fast Majority Vote Algorithm.pdf

src/array/majority-element_test.go renamed to src/election/majority-element_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package array
1+
package election
22

33
import "testing"
44

0 commit comments

Comments
 (0)