Q1: https://leetcode.com/problems/first-unique-character-in-a-string/
Q2: https://leetcode.com/problems/top-k-frequent-elements/
Got a rejection notification from my recruiter one week later.
My mistakes and learning:
O(n). Even though, I clarify O(n log n) after getting the hints from the interviewer.After I completed my phone screen, 5 minutes later I realized I made those mistakes. I thought like "That was a minor mistake. I think I have a chance to move onsite."
However, I got rejection :)