Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0f653b8

Browse files
update README
1 parent ffca497 commit 0f653b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ LeetCode
66
| # | Title | Solution| Difficulty|
77
|---| ----- | -------- | -------- |
88
|1550|[Three Consecutive Odds](https://leetcode-cn.com/problems/three-consecutive-odds/) | [Go](https://github.com/xiao2shiqi/leetcode/blob/master/go/1550-solution.go) | Easy
9+
|992|[Sort Array By Parity II](https://leetcode-cn.com/problems/sort-array-by-parity-ii/) | [Go](https://github.com/xiao2shiqi/leetcode/blob/master/go/992-solution.go) | Easy
10+
|977|[Squares of a Sorted Array](https://leetcode-cn.com/problems/squares-of-a-sorted-array/) | [Go](https://github.com/xiao2shiqi/leetcode/blob/master/go/977-solution.go) | Easy
911
|876|[Middle of the Linked List](https://leetcode-cn.com/problems/middle-of-the-linked-list/) | [Java](https://github.com/xiao2shiqi/leetcode/blob/master/src/main/java/Solution876.java), [Ruby](https://github.com/xiao2shiqi/leetcode/blob/master/ruby/solution876.rb) | Easy
1012
|766|[Toeplitz Matrix](https://leetcode-cn.com/problems/toeplitz-matrix/) | [Java](https://github.com/xiao2shiqi/leetcode/blob/master/src/main/java/Solution766.java), [Go](https://github.com/xiao2shiqi/leetcode/blob/master/go/766-solution.go) | Easy
1113
|724|[Find Pivot Index](https://leetcode-cn.com/problems/find-pivot-index/) | [Go](https://github.com/xiao2shiqi/leetcode/blob/master/go/724-solution.go) | Easy

‎go/992-solution.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import "fmt"
44

55
/**
6-
* LC#922:Sort Array By Parity II
6+
* LC#992:Sort Array By Parity II
77
* Link:https://leetcode-cn.com/problems/sort-array-by-parity-ii/
88
* Method:DP 双指针
99
* Remark:比官方的 O(n2) 解法效率还要慢上不少,不知道为什么,初始化 slice 也踩坑,没有初始化 slice len 还不能直接使用下标

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /