From 97273a3fc57c3a80599634e2130df480007b1f5e Mon Sep 17 00:00:00 2001 From: 1AoB <2453468739@qq.com> Date: Fri, 26 Apr 2024 01:15:44 +0800 Subject: [PATCH] c++ --- exampleSite/content/post/给个offer/index.zh-cn.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/exampleSite/content/post/给个offer/index.zh-cn.md b/exampleSite/content/post/给个offer/index.zh-cn.md index 3a576e3..efd714b 100644 --- a/exampleSite/content/post/给个offer/index.zh-cn.md +++ b/exampleSite/content/post/给个offer/index.zh-cn.md @@ -416,6 +416,21 @@ public: }; ``` +## 补充:13. 找出数组中重复的数字 + +```cpp +//哈希表秒了 +//方二:不要了 +class Solution { +public: + int duplicateInArray(vector& nums) { + + } +}; +``` + + + # 16.75. 和为S的两个数字 ```cpp