Skip to content

Commit

Permalink
Update 0441-arranging-coins.js
Browse files Browse the repository at this point in the history
Fixed Time-complexity.
  • Loading branch information
aadil42 authored Sep 8, 2023
1 parent 19882ea commit c633e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/0441-arranging-coins.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var arrangeCoins = function(n) {

/**
* Binary Search
* Time O(n*log(n)) | Space O(1)
* Time O(log(n)) | Space O(1)
* @param {number} n
* @return {number}
*/
Expand Down

0 comments on commit c633e25

Please sign in to comment.