Current Status
2020 graduate with 1 year 8 months FTE experience + 6 months internship experience at an Investment Bank
Application
I had applied thorugh a refferal. After 2 weeks, received the mail for online assessment. All the rounds were conducted virtually on zoom.
Online Assessment
Same questions as https://leetcode.com/discuss/interview-experience/1480034/BrowserStack-or-SE-Intern-OA/1093866
R1 - Machine Coding Round
This problem requires you to implement a log watching solution (similar to the tail -f command in UNIX). However, in this case, the log file is hosted on a remote machine (same machine as your server code). The log file is in append-only mode.
You have to implement the following:
-
A server side program to monitor the given log file and capable of streaming updates that happen in it. This will run on the same machine as the log file. You may implement the server in any programming language.
-
A web based client (accessible via URL like http://localhost/log) that prints the updates in the file as and when they happen and NOT upon page refresh. The page should be loaded once and it should keep getting updated in real-time. The user sees the last 10 lines in the file when he lands on the page.
Problem Constraints
- The server should push updates to the clients as we have to be as real time as possible.
- Be aware that the log file may be several GB, how to optimise for retrieving the last 10 lines?
- The server should not retransmit the entire file every time. It should only send the updates.
- The server should be able to handle multiple clients at the same time.
- The web page should not stay in loading state post the first load and it should not reload thereafter as well.
- You may not use off-the-shelf external libraries or tools to read the file or provide tail-like functionalities.
R2 - Engineering Manager Round
Design database for Twitter with given requirements:
- User should be able to - follow unfollow
- User should be able to send tweets
- User should be able to see his profile page - his tweets only
- User should be able to see Home Screen, everyones tweets..
After giving ER diagram for above requirements, additional requirement was added.
- Add Like feature
- we should be able to see the total number of links, when a user clicks on it, he should be able to see who all have liked his tweets
- How to handle celebrity problem, how to effectively find number of likes on celebrity posts
R3 - Director of Engineering Round
Current work experience description
- Describe a recent technical problem that you solved, what was the problem, what all different approaches you considered, what were pros and cons of each, which one was chosen (detailed discussion for almost 30 mins)
- If you have to host a website locally and let other users use it, what would you do
- Private IP vs Public IP, Network Address Translation (NAT)
R4 - HR Round
- Behavioral questions
- Why BrowserStack
Offer - https://leetcode.com/discuss/compensation/1928044/BrowserStack-or-SDE-or-Remote