Everytime I can't solve a coding problem I feel demotivated. :(
Even looking at the solution I had to think twice. This feeling sucks, man! Given a string with lowercase letters only, if you are allowed to replace no more than ‘k’ letters with any letter, find the length of the longest substring having the same letters after replacement. Example 1: aabccbb In