Tech IndustryApr 16, 2019

On site for Google/Facebook

For onsite interviews at Google/Facebook, do we need to give a working solution? Or do we just type it out but they don't really run it? It has happened in some interviews for me till now, except with Square. Also, do they need the code to run in one go? How forgiving are they to some small errors/bugs in the code? As long as we identify them and correct them, eventually.

Add a comment
Glassdoor lazu Apr 16, 2019

If you forget a semi colon you're banned for 5 years

New
rksh Apr 17, 2019

That's y he will use js or python lol

Microsoft spark OP Apr 16, 2019

Can someone with an actual interview experience who understands what is being asked please answer my question :)

New
é·tude Apr 19, 2019

FB and Google will not "run" your code. It needs to be mostly correct syntax wise so make your life easier and do the interviews in python. You do not type it out, you whiteboard it. You still need to be careful that you dont write x where you mean to write y, or row where you mean to write column. But if you have the wrong capitalization on DefaultDict, who cares?

Glassdoor lazu Apr 16, 2019

Yes, captain here, If you do well you'll get an offer. No, they don't "run" your code.

ConocoPhillips JjIO Apr 16, 2019

For google it is in google doc or on whiteboard. Doesn’t need to run, but should be close. You can catch bugs or mistakes halfway through

Google tsukino Apr 16, 2019

if the compiler can catch it, then it's usually nbd; if not, your test cases should have coverage

Google praise Apr 16, 2019

I take interviews at Google. We don't run your code, but I have asked the question too many times to know where people go wrong/potentially can go wrong. As for minor bugs, I generally ignore.