Onsite Interviews
Interview #1:
Q1. Find longest substring with distinct characters. https://leetcode.com/problems/longest-substring-without-repeating-characters/
Q2. Implement a subway system with fucntionality for SwipeIn, SwipeOut, GetAvgTime https://leetcode.com/problems/design-underground-system/
Interview #2:
Q1. Design a lottery system implementing AddUser and PickUser.
Q2. A cool string is defined as a string where all characters have same frequency. Given a string, can you make it cool with 0 or 1 deletions?
I was able to solve all the four questions. The interviewers looked happy about the solutions, so the rejection was difficult to take.