Summary
Applied for senior software engineer role at MongoDB. Had three rounds of interviews, including topics like intersection of two sets, read write lock implementation, and word break problem. Despite solving all questions within time, the interview resulted in a rejection.
Full Experience
Going through the interview process for a senior software engineer position at MongoDB. The initial screen round was excellent, where I solved the intersection of two sets problem in 30 minutes, and the interview concluded in 45 minutes with some follow-ups. The first round focused on concurrency, where I implemented a read write lock using ReentrantLock and conditions, solving it in 30 minutes with a few follow-ups. The second round was non-concurrency related, and I tackled the word break problem, solving it in 25 minutes, with the interview ending in 35 minutes. Despite solving all the questions efficiently, I was rejected without any feedback.
Interview Questions (3)
Find the intersection of two sets. The problem likely involves identifying common elements between two given sets.
Implement a read write lock that allows multiple readers but only one writer at a time. The solution should handle concurrency and synchronization properly.
Given a string, determine if it can be broken down into a sequence of dictionary words. The problem is similar to the classic word break problem in dynamic programming.