Technical phone screen -
Typical medium level leetcode question and I was able to solve it (It was completely new question for me so I took a minute to understand it). Interviewer asked me to optimize it further which I tried, but he wanted it in a specific way (I guess using DP). I couldn't do it in next 5 mins so we moved on to the next question. Did well in other areas.
Got rejected for the same reason that I couldn't optimize my code.
Why does interviewer expect candidates to write a code in a specific way? What is the end goal here?
Optimize your code as quickly as possible because that is all you are going to do in your job,right? :/
I get it that optimization is important but certainly you need enough time to optimize code using DP, if you haven't heard of problem before or you have to be lucky enough to get the known problem.
My personal opinion - I never felt this is a right way of selecting/rejecting candidates but looks like market is full of hackerrank, leetcoders so get in the race because that is how you will be judged :(
I applied through a recruiter. I interviewed at LinkedIn (Sunnyvale, CA) in Sept 2025
Interview
After talking with the hr, I was scheduled for one hour coding round, with 25 min algorithm questions leetcode question 3: Longest Substring Without Repeating Characters, and 25 mins sql with followup
Interview questions [1]
Question 1
leetcode 3: Longest Substring Without Repeating Characters
1st round was coding. The interview process was smooth. Asked some SQL and Python questions. SQL interview went well but Python interview didn't go well. They didn't call me for the second round. Overall I enjoyed the experience.
Interview questions [1]
Question 1
SQL: Window functions
Python: Basic Data Structures
I applied online. I interviewed at LinkedIn (Bengaluru) in Apr 2022
Interview
I applied by giving a test on hackerrank platform. Test had 4 sections.
2 - coding questions
1 - sql question
1- MCQ
Within a week, I received a call from HR to schedule my interview for further steps. My interview was scheduled after 10 days.
Interview questions [1]
Question 1
Interviewer asked me SQL questions involving group by, aggregate functions and multiple join questions.