LeetCode Question · Oct 2020

Amazon Phone Interview

2,040 views 2 replies

Question Details

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) ?

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings