首页 > 其他 > 详细

[LeetCode] Contains Duplicate III 包含重复值之三

时间:2015-06-02 01:34:55      阅读:940      评论:0      收藏:0      [点我收藏+]

 

Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j] is at most t and the difference between i and j is at most k.

 

 

 

 

 

参考资料:

https://leetcode.com/discuss/38195/short-c-solution

http://www.cnblogs.com/easonliu/p/4544073.html

 

[LeetCode] Contains Duplicate III 包含重复值之三

原文:http://www.cnblogs.com/grandyang/p/4545261.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!