Warner Bros and Discovery | Senior Software Engineer | Hyderabad | July 2024 [Offer]
Round 1
Questions:
- Find kth Most Frequent Element: Similar to Top K Frequent Elements - Did not code, provided the approach and explained the time complexity. The interviewer was satisfied with the explanation.
- Search in a Sorted Rotated Array: Search in Rotated Sorted Array
- Question on Streams and Collectors: GitHub Link
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2
Questions:
- Coin Change: Coin Change
- Spiral Matrix: Spiral Matrix
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 3
Questions:
- Operational and Engineering Excellence Round:
- Explain how you would design a CI/CD framework and handle deployments.
- Describe the different types of testing you would conduct before pushing code to production.
- Discuss any code analysis tools used in your current application.
- If an issue arises in production, how would you handle it? Explained about setting up alerts.
- Describe a production issue you encountered and how you resolved it.
- What measures can be taken to minimize production issues?
- How do you ensure the most important features are always working? Explained about P0, P1 flows, and feature flags for enabling or disabling features.
- Have you set up meetings with the business in case of any issues?
- How would you scale the application? Explained about being proactive, monitoring traffic, having autoscaling in place, and setting up alerts for memory and CPU utilization.
- If there's a memory or CPU spike in the application, how would you identify it, what tools would you use, and how would you fix such issues?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 4
Questions: System Design round:
- Design Instagram News Feed:
- Users should be able to see the posts of the users they follow.
- We should be able to see who are all the followers for a particular user.
- Asked to design the schema.
- Discussed the choice of databases in the design (S3 for storing images, videos, etc., and Postgres for storing information about users, posts, and followers).
- Asked to write a few APIs.
- How would you handle scaling issues?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.