10y
I am sorry you had a negative interviewing experience. Software engineering interviews have a definite structure, and its main purpose is to gauge the skill level and thinking process of the candidate. We always encourage creativity but we also want simplicity and realistic responses when they are necessary. I'm sure you interviewer wanted to challenge you and to see if you could answer in different points of views and methods. I wish you the best of luck in your job search!