Tip 1 : Prepare well for subjects
Tip 2 : Prepare for system design
Tip 3 : Practice coding
Tip 1 : Don't lie on resume
Tip 2 : Just write in format that is catchy
Base 10 | Base 58
0 | 1
1 | 2
10 | A
20 | L
30 | W
53 | u
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.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which collection class forbids duplicates?