MongoDB interview experience Real time questions & tips from candidates to crack your interview

Data Engineer-Intern

MongoDB
upvote
share-icon
3 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Operating System, DBMS, Computer Networks, Graphs, Dynamic Programming, OOPS
Tip
Tip

Tip 1 : Practice atleast 300 questions and be regular
Tip 2 : Give leetcode weekly contests
Tip 3 : CS fundamentals like OS and DBMS are very important

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have atleast 2-3 projects in the resume
Tip 2 : A project with mongoDB in tech stack could be a plus point
Tip 3 : Be honest with your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 Minutes
Interview date20 Sep 2021
Coding problem0

There were 2 rounds in the first round, one was an MCQ round consisting of aptitude and logical reasoning questions. There were 60 questions and time allocated was 2hrs. Next there was a coding round of 1hr consisting of 2 questions. The MCQ round was a little difficult but coding round was easy.

02
Round
Medium
Video Call
Duration50 minutes
Interview date21 Sep 2021
Coding problem1

The first interview took place in afternoon at around 1pm. Interviewer was friendly and gave his introduction at start of interview. The interview started with an easy DS/Algo question, which I solved easily. This was followed by surface knowledge of DBMS, which consisted of a hard SQL query, at which I got stuck. OS was also tested deeply. The interviewer was satisfied at end of interview.

1. Merge overlapping interval

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.GrowwGoldman Sachs

Given 'N' number of intervals, where each interval contains two integers denoting the boundaries of the interval. The task is to merge all the overlapping intervals and return the list of merged intervals sorted in ascending order.

Two intervals will be considered to be overlapping if the starting integer of one interval is less than or equal to the finishing integer of another interval, and greater than or equal to the starting integer of that interval.

Example:
for the given 5 intervals - [1,4], [3,5], [6,8], [10,12], [8,9].
Since intervals [1,4] and [3,5] overlap with each other, we will merge them into a single interval as [1,5].

Similarly [6,8] and [8,9] overlaps, we merge them into [6,9].

Interval [10,12] does not overlap with any interval.

Final List after merging overlapping intervals: [1,5], [6,9], [10,12]
Problem approach

1. First I gave him the brute force solution
2. Interviewer asked me to optimize the solution.
3. I gave him the optimized solution and interviewer was happy.

Try solving now
03
Round
Medium
Video Call
Duration50 minutes
Interview date21 Sep 2021
Coding problem1

The interview took place at around 5pm. There were 2 interviewers and they were very friendly. I was first asked about my projects in resume. We had a long discussion on one of my projects which included mongoDB. Then a DS/Algo question was asked which I solved quickly. Then we had a deep discussion on OS and Computer networks. Lastly there was another coding question given to end the interview. The interviewers were satisfied.

1. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
MicrosoftAmazonUber

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Problem approach

Step 1 : I first gave them the brute force solution
Step 2 : Interviewer asked me to optimize the solution.
Step 3 : Then i gave the optimized solution and interviewer was happy

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
SDE - Intern
1 rounds | 2 problems
Interviewed by MongoDB
78 views
0 comments
0 upvotes