Tip 1: The main focus should be on coding.
Tip 2: Also focus on soft skills.
Tip 1: The resume should be strictly one page.
Tip 2: Include two projects.



Input:
str="AABC" k=1
Output:3
Explanation: Replace 'B' with 'A', we will get "AAAC" and the longest substring with same character is "AAA" of length 3.
Length of longest non-repeating substring can be recursively
defined as below.
LCSRe(i, j) stores length of the matching and
non-overlapping substrings ending
with i'th and j'th characters.
If str[i-1] == str[j-1] && (j-i) > LCSRe(i-1, j-1)
LCSRe(i, j) = LCSRe(i-1, j-1) + 1,
Else
LCSRe(i, j) = 0
Where i varies from 1 to n and
j varies from i+1 to n





Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?