We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3017d1 commit b49681cCopy full SHA for b49681c
1 file changed
find-minimum-in-rotated-sorted-array/lkhoony.js
@@ -1,5 +1,5 @@
1
// math의 min을 이용하는 방법
2
-// tc: O(n^3)
+// tc: O(n^4)
3
// sc: 잘 몰랐는데 모든 요소를 함수 인자로 풀어 콜스택에 올린다 하여 O(n)이 된다고 함..
4
// (대용량의 배열 시 maximum exceed 에러가 날 수 있음)
5
const findMin_use_math_min = function (nums) {
0 commit comments