Interview Tales | PROGRAMMING INTERVIEWS
Interviewer: Can you write a program to sort an integer array?candidate: Sure…
candidate took some time for writing that program and running some test cases on paper.
candidate: (Showing the paper to my colleague) Here it is…
After having a look at the program and having a code walkthrough with some test cases.
Interviewer: Can you please tell me the complexity of this program?
candidate: Ma'am, this is not complex, this is very simple program.
Interviewer: (Surprised) I am talking about the complexity of the algorithm!
candidate: Maam, I can assure you that this algorithm is not complex and very simple to implement.
Read full article from Interview Tales | PROGRAMMING INTERVIEWS
No comments:
Post a Comment