MongoDB Interview Questions

MongoDB Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(22)
Machine Learning
(19)
SQL
(9)
Behavioral
(5)
Business Case
(4)

MongoDB Interview Questions

Practice for the MongoDB interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium
  1. Given an example paragraph string and an integer N, write a function n_frequent_words that returns the top N frequent words in the posting and the frequencies for each word.

  2. What’s the function run-time?

Example:

Input:

posting = """
Herbal sauna uses the healing properties of herbs in combination with distilled water.   
The water evaporates and distributes the effect of the herbs throughout the room.   
A visit to the herbal sauna can cause real miracles, especially for colds. 
"""  
n = 3

Output:

n_frequent_words(posting,N) = [
    ('the', 6), 
    ('herbal', 2), 
    ('sauna', 2),
]
Data Structures & Algorithms
Easy
Data Structures & Algorithms
Easy
Loading pricing options

View all Mongodb questions

Challenge

Check your skills...
How prepared are you for working at Mongodb?

MongoDB Salaries by Position

$111K
$250K
Software Engineer
Median: $190K
Mean (Average): $185K
Data points: 123
$148K
$250K
Product Manager
Median: $168K
Mean (Average): $183K
Data points: 12
$90K
$171K
Data Engineer
Median: $130K
Mean (Average): $130K
Data points: 3
$90K
$155K
Data Scientist
Median: $115K
Mean (Average): $120K
Data points: 4
Data Analyst*
$101K
Data Analyst
Median: $101K
Mean (Average): $101K
Data points: 1

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Software Engineer role pays the most with a $184,546 base salary while the Data Analyst role on average pays the least with a $100,651 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.