From d1dee7d48e256ee55d3b26fc453cdd0950b6cd45 Mon Sep 17 00:00:00 2001 From: MoriSummer <54202741+coderhare@users.noreply.github.com> Date: Thu, 20 May 2021 17:19:44 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=89=91=E6=8C=87offer3=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E4=B8=AD=E9=87=8D=E5=A4=8D=E7=9A=84=E6=95=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- animation-simulation/数组篇/剑指offer3数组中重复的数.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animation-simulation/数组篇/剑指offer3数组中重复的数.md b/animation-simulation/数组篇/剑指offer3数组中重复的数.md index e29cc93..f817fdd 100644 --- a/animation-simulation/数组篇/剑指offer3数组中重复的数.md +++ b/animation-simulation/数组篇/剑指offer3数组中重复的数.md @@ -88,7 +88,7 @@ C++ Code: class Solution { public: int findRepeatNumber(vector& nums) { - if(nums.empty()) return 0; + if(nums.empty()) return 0; int n = nums.size(); for(int i = 0; i < n; ++i){ while(nums[i] != i){