c***7 发帖数: 42 | 1 Interviewer is a India guy, company is Microsoft. Phone interview.
He start to ask each of my experience listed in resume. It takes 20mins.
Then give a function signature
String format(string fmt, object[] rags)
No comments for special requirement.
Example
1st arg "Hello {0}", 2nd arg{"Xxx"}
Return "hello Xxx"
Sounds easy. Then I take about 25mins to complete it. I need to share my
thoughts with him during coding.
Note: the input parameter does not have to be valid. Which means I need to
consider the invalid input.
After I finished it. He throws a question "what if user want to output the
锝sign"
For this question, I think we need to have double 锝nbsp; if we want output
single 锝
But the time is not enough.
A typical India interview. Time to move on. |
|