diff --git a/problems/0242.有效的字母异位词.md b/problems/0242.有效的字母异位词.md index 9c492431..463a793f 100644 --- a/problems/0242.有效的字母异位词.md +++ b/problems/0242.有效的字母异位词.md @@ -91,8 +91,19 @@ Python: Go: - - +```go +func removeElement(nums []int, val int) int { + length:=len(nums) + res:=0 + for i:=0;i