minor modification
This commit is contained in:
parent
3347033a2e
commit
e41471fdf6
|
|
@ -219,9 +219,6 @@ class Solution:
|
||||||
def fib(self, n: int) -> int:
|
def fib(self, n: int) -> int:
|
||||||
|
|
||||||
# 排除 Corner Case
|
# 排除 Corner Case
|
||||||
if n == 1:
|
|
||||||
return 1
|
|
||||||
|
|
||||||
if n == 0:
|
if n == 0:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue