Role : SSE
Experience : 5 Years
Round 1: DSA
Interview will expect to write a working code on their Platform
Question 1 -> Daily temperature leetcode
Explained the Brute force approach
Then optimised approach
Then was able to solve the question and write a working code
Till then almost 45 mins of interview was complete
Question 2 -> Buy and Sell Stocks with K transaction
Explained the Recurisve approach
Wrote the code of recursive approach -> Till then time was up, exceeded by 5 mins
So interviewer told this is enough
Progressed to next round
Round 2: DSA + LLD
Interview will expect to write a working code on their Platform for DSA question
Question 1 -> LCS -> Need to print actual string not just the length of LCS
Initially did not realize need to print he actual string
I explained the recursive approach and tabulation approach in brief to interviewer and started writing code
Midway I realized, I have to print actual string, it took little time to figure out and after discussion with interviewer wrote the code for that
After writing the code, I made a typo which took some time and help from interviewer to debug as I was getting anxious due to time ticking.
Luckily the bug got found and the testcases by interviewer passed
Question 2 -> LLD of library management system
Interviewer just wanted me to discuss structure of classes and models and code the structure, no working code needed here
Interviewer was kind to give me extra 20 mins as my first question took lot of time.
I was able to write the code structure.
It might have few mistakes, Interviewer was supportive
After round 2 -> I got a reject
Did not get feedback from recruiter about exact reasons
Probable reasons
-> Min experience of SSE was 5 years for the role, Maybe a better candidate with more experience were in pipeline
The interviewers who took my interview were mostly above 10 years experience and also SSE
-> Speed of coding was slow
-> Debugging could be improved as I got anxious when code was not working due to time ticking.
Needed to calmly debug