Current role: Senior software engineer with a service based company
Experience: ~9 YOE
Recruiter contacted about a role in productivity engineering department of LinkedIn and I was interested to proceed with it.
Online Assessment:
I generally do leetcode to understand the differenct approaches of problem solving. Never wanted to memorize the solution for the sake of interviews.
I was asked 2 problems.
I was confident that I would be moved to the next round as I had given optimal solutions to both the problems but a day later the recruiter emails that I have been rejected. I was disappointed and now questioning my own approach to study for the other interviews that I have got lined up.
Is the expectation to memorize and give the optimal solution in the first try? Why is iterative optimization no longer accepted?