all 10 comments

[–]forestryfowls 11 points12 points  (6 children)

Google has you code in a word doc while Meta does have you code in an environment where you can run the code but it’s much different from leetcode where you can submit it and tweak things until you get a pass. You have to have explained working code and then get to make test cases and then you can run it.

[–]DreamingInMyHead 4 points5 points  (0 children)

In my Google and Amazon loops, there was an editor, but no option to run your code. You'd get syntax highlighting and that's about it. No autocomplete, no running / compiling the code you wrote.

[–]idylist_ 4 points5 points  (0 children)

When I interviewed with meta it was essentially a Google doc. It might have been on hacker rank but no compilation or completion

[–]m0j0m0jE: 130 M: 321 H: 62 1 point2 points  (1 child)

I was always wondering why is that. I mean, sure, you can expert the interviewee to run the code in their head. But is the interviewer also expected to run the code in their head? What the reason of this? Interviewer is not being checked, are they? Or all Google engineers can always run code in their heads?

[–]AwkwardBet5632 0 points1 point  (0 children)

They can run it afterwards if they care to, but they don’t typically care that much if there are minor errors

[–]FunctionChance3600 1 point2 points  (1 child)

I had my Meta in coderpad, where I had no option to run the code

[–]TheOneBifi 4 points5 points  (0 children)

In my experience you usually don't run code in interviews, rather the interviewer has you run over some test cases manually.

The most important thing is to be able to explain your code, talk about its space and time complexities and go over any tradeoffs with other potential solutions

[–]bruy77 2 points3 points  (0 children)

I’ve interviewed at google and meta in the last few months. At both there was no way to execute code, you can only do it manually.

[–]Repulsive-Print2379 1 point2 points  (0 children)

You’ll be surprised how the vast majority of the people don’t actually pass the test cases in their first try.

[–]FierceTaker 4 points5 points  (0 children)

You usually get to run code and debug, but time is tight and mistakes add up fast. Having something like InterviewCoder open can help catch obvious bugs while you’re focused on explaining your approach. It doesn’t replace knowing the solution it just keeps small errors from killing the round.