Current Designation :SDE-2
Years of experience : 5.5
Round 1: Coding Problem
https://leetcode.com/problems/sliding-window-maximum/description/ -> couldn't provide the optimal solution
2nd Question was around binary search.Can't find it on leetcode. Could say it was somewhat on the lines of https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/description/
In the asked question the frequency of each element had to be calculated and then binary search had to be applied on the frequency
Outcome: Received positive feedback for this round. But the interviewer mentioned the candidate din't start with the Brute forcce, directly to optimal approach
Feedback : positive
Round 2: Problem Solving
Interviewer gave a very vague statment in which the interviewer asked me to compare two lists.
The expectation was to provide a production level generic solution using generics and ovveriding equals hashcode method.
I provided an O(N) approach using maps , Interviewer asked me to provide an approach without additional data structure. I provided an approach which used sorting
Feedback : soft positive because my provided solution was not clean code.
Round 3: LLD and problem solving
https://leetcode.com/problems/3sum/description/
The interviwer asked to design a LLD for promotion system. The interview was happening for the promotion team, so the interviewe asked the LLD around the same
Feedback : soft positive
Round 4: Hiring Manager Round
The Engineering manager was taking this round. He asked me to design content aggregator system like Hulu.
Most important functional requiremtn was that it should be smart. It should give reccomentation based on the day, weather etc.
On weekday it should reccoment slice of life, light hearted movies
On weekend it should reccomend action thriller , adventure movies,
Also should take into cases like holiday on weekday and on the holiday it should recomment movies which it should have recommended on weekends.
Final Verdict : Rejected


