Happy Coding

This blog is for my memorandum.

Happy Coding

This blog is for my memorandum

Entries from 2017-02-03 to 1 day

Contains Duplicate III

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