https://videogg.com/video/6HKutEW7chw/lecture-14-decrease-and-conquer-3-variable-size-decrease