Amazon interview question

Arrays & Strings Two Sum, Sliding Window Maximum, Longest Substring Without Repeating Characters