MongoDB vs Uber Interview Questions

MongoDB lists 24 LeetCode interview questions while Uber lists 362. They share 14 problems — 58% of MongoDB's bank and 4% of Uber's. Focus on the overlap first, then drill into 10 MongoDB-only and 348 Uber-only questions.

Overview

MongoDB

24 questions

Easy 3Medium 15Hard 6
Uber

362 questions

Easy 45Medium 215Hard 102

Preparation Strategy

Step 1 — Shared core: Solve the 14 overlapping problems first. These are the highest-yield questions for candidates interviewing at both MongoDB and Uber.

Step 2 — Company-specific depth: Add MongoDB-specific problems like Snapshot Array, Intersection of Two Arrays, Convert JSON String to Object and Uber-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Uber skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
MongoDB
3
Uber
45
Medium
MongoDB
15
Uber
215
Hard
MongoDB
6
Uber
102

Top Shared Topics

14 Shared Questions

High-priority problems to practice for both MongoDB and Uber.

ProblemDifficulty
Word BreakMedium
Implement Trie (Prefix Tree)Medium
Text JustificationHard
Merge k Sorted ListsHard
LRU CacheMedium
Merge IntervalsMedium
Insert IntervalMedium
Course Schedule IIMedium
Sliding Window MaximumHard
Design Search Autocomplete SystemHard
Search in Rotated Sorted ArrayMedium
Word Break IIHard
Clone GraphMedium
Time Based Key-Value StoreMedium

Unique to MongoDB (10)

Problems in MongoDB's list that do not appear at Uber.

ProblemDifficulty
Snapshot ArrayMedium
Intersection of Two ArraysEasy
Convert JSON String to ObjectHard
Web Crawler MultithreadedMedium
Stock Price FluctuationMedium
Merge Two Binary TreesEasy
Lowest Common Ancestor of a Binary TreeMedium
Lowest Common Ancestor of a Binary Tree IIIMedium
String CompressionMedium
Merge Two Sorted ListsEasy

Unique to Uber (348)

Problems in Uber's list that do not appear at MongoDB.

ProblemDifficulty
Bus RoutesHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Alien DictionaryHard
Number of IslandsMedium
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Word SearchMedium
Insert Delete GetRandom O(1)Medium

Frequently Asked Questions

How many LeetCode questions do MongoDB and Uber share?

MongoDB and Uber share 14 LeetCode interview questions. 10 problems appear only in MongoDB's list and 348 appear only in Uber's list.

What topics overlap most between MongoDB and Uber?

The most common shared topics between MongoDB and Uber are Array (7 shared questions), Hash Table (6 shared questions), String (6 shared questions), Trie (4 shared questions), Design (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: MongoDB or Uber?

MongoDB has 3 Easy, 15 Medium, and 6 Hard questions. Uber has 45 Easy, 215 Medium, and 102 Hard questions. Uber has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both MongoDB and Uber?

Start with the 14 shared problems since they cover what both companies ask most often. Then add 10 MongoDB-specific and 20 Uber-specific questions to round out your prep.

Explore More