https://medium.com/@mushkansingh733/leetcode-2379-minimum-recolors-to-get-k-consecutive-black-blocks-c4453ee80fb2