An Efficient Sliding Window Approach for Approximate ...