Today, I was disqualified for solving a question optimally at the first try. AMA

I was interviewing a mediocre company and in the last tech assessment I was given a prolem which I solved it with divide and conquers method.

Later, I got the feedback that the interviewer was not happy with me for not approaching the problem trivialy and discussing the time complexity and ...