Skip to content

Commit c633e25

Browse files
authored
Update 0441-arranging-coins.js
Fixed Time-complexity.
1 parent 19882ea commit c633e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/0441-arranging-coins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var arrangeCoins = function(n) {
2121

2222
/**
2323
* Binary Search
24-
* Time O(n*log(n)) | Space O(1)
24+
* Time O(log(n)) | Space O(1)
2525
* @param {number} n
2626
* @return {number}
2727
*/

0 commit comments

Comments
 (0)