YOE: 4.5
SWE Role 3-5 YOE
Had Onsite scheduled with meta today I am not expecting offer but contributing to the community.
Phone Screen:
Onsite
Round 1: Produc Design
Design a File/Folder Sync app (like Drive and dropbox)
Focused more on the API design and the schema table design went Alright
Round 2: Behavioral
Top behavioral question went Alright
Round 3: Coding
Round 4: Coding [Worst Round]
Given x coordinates sorted need to plant seeds with given constraints distance d.
so to plant at a & b we need b-a >= d. (Couldn't solve but got the idea of looking back to last coord less than or equal to coord[i]-b and add the seeds at that location. Still not sure if this answer would have worked? The interviewer was there to make me self doubt any solution I suggest.)
Served a char character stream we need to return the first unique character we see in that order
ex: Served on next(char c) -> a b b c a res: a a a a c.
Solved the second question but the interviewer asked if the next(char c) method can operate in O(1) time which I had was amortized & I said No(Comment the correct answer).
I am not hoping they will extend any offer but lets see what happens. Also, please link any questions on leetcode that are related to above ones or same.