How perfect does our solution have to be for FAANG (especially G) interviews? Do they also care about how clean, modular, and efficient the code is? I remember that F takes a photo of the code and I wonder if they actually get reviewed thoroughly. Will it be enough (for entry level) to have a decently optimal solution with bug-free codes, or does it have to be super clean and modular? What is the general expectation?
I got a 5 offer and I wrote some bugs in code but fixed them by the time the round was done. As long as they're not egregious it's fine. You really don't have to be perfect. You just state a solution, they say if that's optimal enough or not. If it's not then you keep trying for better. You don't need to have code be modular, at least at FB because you're asked two coding questions per round on top of domain knowledge questions.
Algorithm is more important, unless your code is distractingly bad
We take pictures of the code so we can write about it later. We have a short period to watch you write it and spend a longer period afterwards writing up a thorough analysis to go with a hire/no hire recommendation, for a hiring committee to look at later. Taking a photo afterwards makes it possible to add the code to the write-up without having to type while you write. Yes, I look for readable and good code, as well as correctness and efficiency.
Thanks for the reply. How would to define readable and "good" code?
Hey, I'm puțin together a channel in YouTube about software engineering. The first topic will be interviewing. You can check the general interview process here https://youtu.be/GWM9uS7J-as Thank you and let me know if you have any feedback!
Tech Industry
Yesterday
7382
Google doing more layoffs, restructuring including country moves
Health & Wellness
Yesterday
6043
Why are women naked in gym?
2024 Presidential Election
Yesterday
1639
Biden ruined America and tech! Tax plans are insane
India
Yesterday
1761
Lost respect for Modiji
Tech Industry
Yesterday
427
Chances of meta clearing E5 with screwing up one coding one round and acing all other
At Amazon there is one interviewer specifically looking for clean/maintainable code. Another is looking for algos/ds knowledge, another is looking for problem solving ability.
What could be some factors that determines cleanness/maintainability?
Read the first few chapters of Clean Code by Robert Martin to understand good method/variable naming. Use constructor injection if appropriate. Think about how you would write a test for the code you are writing.