Recently had a phone-screen with apple (Staff).
Question 1: https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
Asked variations on this problem
- what if i want to return the first, or last match
- what if I want to return all matches (but the longest)
Question 2: 'How would you find words in a string'
- I believe they were looking for a Trie data struct
- Didn't have a lot of time, this was only a discussion section.
Comments (3)


