Amazon interview question

Longest Substring without repeating Characters Number of Island