📂
LeetCode Note
More
Search
Ctrl + K
處理 Array 小撇步
知道 index 情況要塞值
Copy
var
result
=
[]
// good for Memory
result[i]
=
xx
// bad
result
.push
(xx)
Previous
Prototype
Next
String Method
Last updated
5 months ago