Merge pull request #760 from Jerry-306/patch-8

修复 0027移除元素 javascript 版本样式错误问题
This commit is contained in:
程序员Carl 2021-09-19 12:49:15 +08:00 committed by GitHub
commit 911d2e8330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ func removeElement(nums []int, val int) int {
``` ```
JavaScript: JavaScript:
``` ```javascript
//时间复杂度O(n) //时间复杂度O(n)
//空间复杂度O(1) //空间复杂度O(1)
var removeElement = (nums, val) => { var removeElement = (nums, val) => {