Skip to content

Commit

Permalink
Time: 0 ms (100.00%), Space: 39.9 MB (89.92%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
ishap11 committed Mar 5, 2024
1 parent d476693 commit c814fe5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions 0509-fibonacci-number/0509-fibonacci-number.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ public int fib(int n){
return 1;
}



int n1=0;
int n2=1;
int fib=1;


for(int i=1;i<n;i++)
{
fib = n1+n2;
Expand Down

0 comments on commit c814fe5

Please sign in to comment.