Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 824 Bytes

File metadata and controls

21 lines (16 loc) · 824 Bytes

219. Contains Duplicate II

链接

题目:https://leetcode.com/problems/contains-duplicate-ii/
代码(github):https://github.com/illuz/leetcode

题意

问一个数组中有没有重复的数,且这两个数的下标差距不超过 k。

系列文章: