Skip to content

Commit 411d20d

Browse files
authored
Update LogNComplexityDown.java
1 parent af4db90 commit 411d20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chapter01introduction/LogNComplexityDown.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void main(String[] args) {
2323

2424
public static int logNUp(int n){
2525
int count = 0;
26-
for (int i = n; i>0;){
26+
for (int i = n; i > 0; ){
2727
count ++;
2828
i = i / 2;
2929
}

0 commit comments

Comments
 (0)