After all, the spread operator takes almost O(n) time, resulting in the overall time complexity of O(n 2 ) for the first method.
確定! 回上一頁