Tips from the google coding interview video
https://www.youtube.com/watch?v=XKu_SEDAykw
Always ask for clarifications - some tips below
Think out loud
Talk about all the solutions before you code out
Test a few inputs after writing code by tracing it before saying I am done
Talk while coding
Talk about time and space complexity at the end to get bonus points
Read out the problem loud in a way you understood - Do not code out the wrong solution
Clarifying questions
Clarify the input & output. E.x. This function accepts 2 arrays and returns an integer, Am I right?
Sorting - array already sorted, reverse sorted or not sorted?
Can there be -ve elements?
Can there be only integers or other types?
String - other than English?
Can it contain special chars, Unicode, upper case and lower case letters?
Key point to succeed in this round is just don't give up on the problem, put efforts in coming up with different solutions, does not matter if they write, do not keep your thought process in mind keep speaking and let the interviewer know how you are thinking about the problem.

Comments
Post a Comment