Bug Report for https://neetcode.io/problems/longest-repeating-substring-with-replacement I think Hint 2 is misleading, when given this input: AAAA BCBDBEBFB k = 1 It's not THE string but the running window string.