I applied online. The process took 3 weeks. I interviewed at Google (Toronto, ON) in Dec 2018
Interview
Completely bombed it. Tough interview with unconventional questions, which I was not expecting. I decided to interview in JavaScript, which I regret and wish I chose Java or C++. The questions were DSA related but took a more practical approach, which in many was is better than what most interviews do, but still was a surprise to me. As soon as the interview ended I knew I was rejected.
Interview questions [4]
Question 1
Explain how threading works in JavaScript, and how async/await uses the threading model.
Write a function debounce(fn, timeout) which accepts a function and timeout as inputs and returns a function which will on allow fn to run after timeout ms.
Using JS Browser DOM API available functions, write "getElementsByClassName(className)" which accepts a string className and returns a list of HTML Elements which have the required className.
Create the class SnapshottableArray, which is a normal array except it has the ability to take a snapshot in time of the current values of the array, giving a handle/id.
It has the class signature below. Focus on reducing space at the cost of time complexity.
Fill in the function bodies to complete the class.
(I wrote the class with types to make it clear what everything does, but the code should be in JS.)
class SnapshottableArray{
SnapshottableArray(int size); // create new snapshottable array with size
void set(int index, int value); // set's array at index to value
int get(int index); // return the array at index's value
int takeSnapshot(); // take a snapshot and return the handle/id of it
int getSnapshotValue(int id, int index); // return the array at index's value for the given snapshot, represented by id
}
1 coding assessment. If you pass, you get to the final round which consists of 4 rounds in one day. 3 technical and one behavioral. The algorithms I had was BFS, Min heaps, and backtracking(parentheses)
Got an OA first.
And an interview call.
Question was backtracking leetcode.
i would say a medium-hard question . I was able to solve it but still got rejected. I was hoping for second on site round. idk why .
But i think my interviewer is not in interested in my code like she is not even correcting me.
I applied online. I interviewed at Google (Seattle, WA)
Interview
I applied online with no referral. First was an online coding challenge then 4 virtual onsite 45 minute interviews. I had a call with my recruiter to learn about the details of the interview process. They were 3 technical interviews and 1 behavioral.