Created
June 23, 2018 00:15
-
-
Save jianminchen/a1304b4fb35dfcc2fa2a23e4bdde44f7 to your computer and use it in GitHub Desktop.
email content after the phone interview - Oct 14 2009
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am thinking that my code will get me out quickly this time also. | |
First, it is not optimal code. | |
1. There are three lines simple code: it is better | |
If(x==y && x==z) return 1; // 3, 3,3 | |
if(x==y || x==z) return 2; // 3, 4, 3, or 4, 3, 3 | |
else return 3; | |
2. I added one line unreable code in the end, return -1. | |
3. I did not put comment line: saying that there is checking with 3 integers to make sure it fits in triangle, | |
even though I said through conversation. The goal is to control white board and write down. | |
Anyway, the interviewer is trying to finish 30 minutes to get something from you. She cannot remember | |
the conversation. But she will depend on the white board -live meeting record. | |
Anyway, I plan to study more about interview questions. | |
I learned the tip, like working restaurant, try to save time, focus on the interview question, and give best performance, usually it takes 10 minutes, if you impress the interviewer, then you can have time to catch up more with her/him. Otherwise, waste time. | |
It is normal procedure. I still was nervous to work on problems, and I am still seeking strategies, if you have some, let me know. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment