mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-06 23:28:29 +08:00
minor modification
This commit is contained in:
@ -219,9 +219,6 @@ class Solution:
|
||||
def fib(self, n: int) -> int:
|
||||
|
||||
# 排除 Corner Case
|
||||
if n == 1:
|
||||
return 1
|
||||
|
||||
if n == 0:
|
||||
return 0
|
||||
|
||||
|
Reference in New Issue
Block a user