摘要: 题目: ​ 给定一个整数数组和一个整数 k ,判断数组中是否存在两个不同的索引 i 和 j ,使得 nums [i] = nums [j] ,并且 i 和 j 的差的绝对值最大为 k 。 ​ Given an array of integers and an integer k , find out 阅读全文
posted @ 2019-11-14 19:33 爱写Bug 阅读(127) 评论(0) 推荐(0) 编辑