mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-07 09:54:57 +08:00
Update solution 0859
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# [859. Buddy Strings](https://leetcode-cn.com/problems/buddy-strings/)
|
||||
# [859. Buddy Strings](https://leetcode.com/problems/buddy-strings/)
|
||||
|
||||
## 题目
|
||||
|
||||
@ -53,6 +53,7 @@ For example, swapping at indices 0 and 2 in "abcd" results in "cbad".
|
||||
## 代码
|
||||
|
||||
```go
|
||||
|
||||
package leetcode
|
||||
|
||||
func buddyStrings(s string, goal string) bool {
|
||||
|
Reference in New Issue
Block a user