I could have worded the post better, but I definitely meant as part of the interview conversation. (I definitely know I am not the smartest guy in the room, nor do I want to be).
I had an interview recently where my solution was O(n^2), which I could tell was bad. I asked the interviewer if he code show me/code up the more efficient solution he mentioned previously. He mentioned that we didn't have time and dismissed my request which is very disheartening.
I had an interview recently where my solution was O(n^2), which I could tell was bad. I asked the interviewer if he code show me/code up the more efficient solution he mentioned previously. He mentioned that we didn't have time and dismissed my request which is very disheartening.