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 :(
The process took 1+ week. I interviewed at LinkedIn (New York, NY)
Interview
The first round was an online SQL test for 45 minutes. I cleared it easily.
Second round was telephonic. Asked me questions on my existing projects.
Third round was video conference. Asked me about myself, about past experiences. Then 2 case study related to LinkedIn and an SQL query
Interview questions [1]
Question 1
Case study to determine criteria on how to judge if the news feed content is actually helpful or not
I applied through a recruiter. The process took 6 weeks. I interviewed at LinkedIn (Sunnyvale, CA) in Nov 2018
Interview
Overall the interview process was good. Recruiter approached through LinkedIn. 30 mins brief call with the recruiter followed by 1 hour of telephonic phone screen. Entire day onsite with the team. Onsite interview 7 rounds of interview.
Interview questions [7]
Question 1
Serialize and deserialize binary tree. Further optimize to reduce extra space from the serialized string. Followed up with constructing BST using preOrder array