This is what I came up with.
@Design_Gurus
I fail to understand why wouldn’t we need to reevaluate the maxChar in each window.
Instead, the solution given seems to be just keeping track of the maxRepeating char across all windows. Even if we end up deleting this character from the current window, it doesn’t account for it. Please help me bridge the disconnect.