diff --git a/problems/0027.移除元素.md b/problems/0027.移除元素.md index 5cfdb68d..144cd5be 100644 --- a/problems/0027.移除元素.md +++ b/problems/0027.移除元素.md @@ -129,7 +129,19 @@ Python: Go: - +```go +func removeElement(nums []int, val int) int { + length:=len(nums) + res:=0 + for i:=0;i