Variable Size Sliding Window Algorithm Geeks