From c54ca3f210d2e881cac888f83af2ef6796091daf Mon Sep 17 00:00:00 2001 From: Yuhao Ju Date: Mon, 2 Jan 2023 22:40:46 +0800 Subject: [PATCH] =?UTF-8?q?update=200213.=E6=89=93=E5=AE=B6=E5=8A=AB?= =?UTF-8?q?=E8=88=8DII:=20=E4=BF=AE=E6=94=B9=E5=87=BD=E6=95=B0=20python=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=87=BD=E6=95=B0=E5=90=8D=E7=A7=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0213.打家劫舍II.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problems/0213.打家劫舍II.md b/problems/0213.打家劫舍II.md index dd109f83..e595d2fd 100644 --- a/problems/0213.打家劫舍II.md +++ b/problems/0213.打家劫舍II.md @@ -131,7 +131,7 @@ class Solution: val2=self.roblist(nums[:-1])#不偷最后一间房 return max(val1,val2) - def robRange(self,nums): + def roblist(self,nums): l=len(nums) dp=[0]*l dp[0]=nums[0]