mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
minor modification
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user