https://www.educative.io/collection/page/5668639101419520/5671464854355968/6497958910492672
Hi I have a query regarding the solution. maxRepeatLetterCount here is the repeat count of the letter which repeated maximum times in window [windowStart, indowEnd] . So when wStart moves to right(shrinks) why maxRepeatLetterCount is not updated ? should not we keep track of the maxRepeatLetterCount throught some maxHeap ?