Leetcode Longest Substring With Same Letters After Replacement