摘要:
Maintain a hashset with size of (K + 1)class Solution {public: bool containsNearbyDuplicate(vector& nums, int k) { unordered_set hs; ... 阅读全文
posted @ 2015-05-30 01:36
Tonix
阅读(161)
评论(0)
推荐(0)
Tony's LogAlgorithms, Distributed System, Machine Learning |