Amazon Phone Interview
Anonymous User
2043

Swap one character to get Longest Repeated Character in a string.

I got till time complexity of O(n2)
is there a way for O(n) ?

Comments (2)