the Inspiration Given by Mock Interview

first, the communication skills, this goes without saying more. Don’t care too much about grammar and say it in slowly and organized way.
second, you can judge a interviewee about whether he/she is a good candidate. and we can get their shortcomings and impressive moments to improve ourselves. but how can we judge if one is good or not? here list a few points you need to pay special attention.

  1. understanding a problem. sometime, due to limited time, I don;t want any “awkward” moments happens during interview, so reading out loud and make notes about this new problem is really important. this can help me ease the tension between us and get to understand and find out “keywords” in the description of this problem. this method is useful easpecially in long problem.
  2. Describle you general idea of this problem. usually, I misuderstand this as “solve this problem by words”, but that’s not the case. asking question concerns about this problem, and write some conner unit tests. and go through my idea using this case.(sometimes it really hard to explain why you need to use some kinds of auxillly array or variable. but using a test case, we can explain it better)
  3. For the checking part, if we have an online IDE, and we do not need to write our own test case/need to wirte own test case. it always better for us to check the codes before submit. if we do not have an online IDE, then we need to create a test case, and go through the whole process once again for interviewer.

Keywords in Problem description:
Positive
Non-negative
Sorted
Duplicated/Unique
Things you need to Clear when reading problems:
Input:
Output:

What needs to be checking before submit?
variable name
typo
what needs to be done after submit code and not accepted?
carefully check the error message. find out which line is working bad.
check out which test case are not right, if those test cases are not provided, then we should check if we miss any connet cases, then use our own test case to go through the whole process
set breaking point by print out some middle point variables. and compare them to what I expected. from start to end.

so the most important is:
Do not Panic.
Speak slowly and origanized.

posted @ 2020-06-26 01:23  EvanMeetTheWorld  阅读(19)  评论(0)    收藏  举报