Skip to content

Commit 5bfd64a

Browse files
yanglbmeidoocs
authored andcommitted
style: format code and docs with prettier
1 parent 4d8f7e5 commit 5bfd64a

File tree

1 file changed

+1
-1
lines changed
  • lcof/面试题39. 数组中出现次数超过一半的数字

1 file changed

+1
-1
lines changed

lcof/面试题39. 数组中出现次数超过一半的数字/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class Solution {
203203
func majorityElement(_ nums: [Int]) -> Int {
204204
var cnt = 0
205205
var m = 0
206-
206+
207207
for v in nums {
208208
if cnt == 0 {
209209
m = v

0 commit comments

Comments
 (0)