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
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
Top Shared Topics
14 Shared Questions
High-priority problems to practice for both MongoDB and Uber.
| Problem | Difficulty |
|---|---|
| Word Break | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Text Justification | Hard |
| Merge k Sorted Lists | Hard |
| LRU Cache | Medium |
| Merge Intervals | Medium |
| Insert Interval | Medium |
| Course Schedule II | Medium |
| Sliding Window Maximum | Hard |
| Design Search Autocomplete System | Hard |
| Search in Rotated Sorted Array | Medium |
| Word Break II | Hard |
| Clone Graph | Medium |
| Time Based Key-Value Store | Medium |
Unique to MongoDB (10)
Problems in MongoDB's list that do not appear at Uber.
| Problem | Difficulty |
|---|---|
| Snapshot Array | Medium |
| Intersection of Two Arrays | Easy |
| Convert JSON String to Object | Hard |
| Web Crawler Multithreaded | Medium |
| Stock Price Fluctuation | Medium |
| Merge Two Binary Trees | Easy |
| Lowest Common Ancestor of a Binary Tree | Medium |
| Lowest Common Ancestor of a Binary Tree III | Medium |
| String Compression | Medium |
| Merge Two Sorted Lists | Easy |
Unique to Uber (348)
Problems in Uber's list that do not appear at MongoDB.
| Problem | Difficulty |
|---|---|
| Bus Routes | Hard |
| Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Medium |
| Alien Dictionary | Hard |
| Number of Islands | Medium |
| Number of Islands II | Hard |
| Squares of a Sorted Array | Easy |
| Construct Quad Tree | Medium |
| Kth Smallest Element in a BST | Medium |
| First Unique Number | Medium |
| Find the Closest Palindrome | Hard |
| Word Search | Medium |
| 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.