Google L4 chances
Company: Google
Role: L4
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
done with all rounds last week.
TPS - pick/delete random elements.
Tc: O(1)
Sc: O(n)
verdict : hire
Round 1: design Run Length Encoding. and testcases.
Here, implemented using key as range of same element and value as that element.
but forgot to add last range and it fails on [1,1,1]. not sure will get "no hire" or "lean hire".
Round 2: classic interval problem. mentioned in so many previous posts.
Input
Foo 10 30
Bar 15 45
Output
10 15 Foo
15 30 Foo, Bar
30 45 Bar
TC : O(n^2)
SC : O(n)
self verdict: lean hire because interviewer intended to ask 2nd question as well but I took more time to implement.
Round 3: leetcode separate square1/2.
self verdict : hire/strong hire.
one of the best round and interviewer happy with my approach and code.
Googliness: googliness standard questions
self verdict : hire
In Round 1, due to interview pressure, left the bug and interviewer didn't point it out but after interview I realised that I made this silly/common mistake.
As per your experience, are there any chances to get an offer.
will share detailed question in my next post.