Enterprise SaaS
MongoDB interview questions
Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.
- Problems
- 23
- Easy
- 3
- Medium
- 14
- Hard
- 6
- Mapped to chapter
- 13
Array
8 problemsEasy 1
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 349 | Intersection of Two Arraysalso at:AmazonBloombergByteDance Also at 5 moreGoogleLyftMetaMicrosoftTwo Sigma | Easy | — |
Medium 4
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 33 | Search in Rotated Sorted Array★ also at:AdobeArista NetworksAutodesk Also at 20 moreLinkedInSAPVMwareZscalerAmazonBloombergByteDanceCiscoeBayFlipkartFreshworksGoldman SachsGoogleMetaMicrosoftMyntraNaviNetflixPayPalPaytm | Medium | Chapter | |
| 57 | Insert Intervalalso at:AdobeAmazonApple Also at 5 moreGoogleMetaMicrosoftPayPalPhonePe | Medium | Chapter | |
| 139 | Word Breakalso at:AdobeArista NetworksAutodesk Also at 17 moreTwilioVMwareAmazonBlockBloombergByteDanceCleartripDiscordeBayGoogleIntuitMetaMicrosoftNetflixTargetToastUber | Medium | Chapter | |
| 1146 | Snapshot Array★ also at:DatabricksSnowflakeAmazon Also at 2 moreAppleeBay | Medium | Chapter |
Hard 3
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 68 | Text Justificationalso at:AtlassianAutodeskDatabricks Also at 15 moreTwilioAirbnbAmazonBloombergCapital OneCoinbaseGoogleLyftMicrosoftNetflixPayPalRobinhoodRobloxSamsaraVisa | Hard | — | |
| 140 | Word Break IIalso at:DropboxAmazonBloomberg Also at 5 moreeBayGoogleMicrosoftSnapX (Twitter) | Hard | Chapter | |
| 239 | Sliding Window Maximum★ also at:AdobeAutodeskVMware Also at 20 moreAmazonBloombergByteDanceCiscoCitadelDeliverooDoorDashExpediaGoogleJPMorganJuspayLINELyftMetaMicrosoftNVIDIAOYOPhonePeRobloxWayfair | Hard | Chapter |
Hash Table
6 problemsMedium 6
Misc
9 problemsEasy 2
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 21 | Merge Two Sorted Lists★ also at:AdobeArista NetworksDocuSign Also at 24 moreRipplingVMwareAmazonBloombergByteDanceCars24CleartripCoinDCXDelhiveryeBayFlipkartFreshworksGoogleIntuitLyftMetaMicrosoftQualcommRakutenRedditRevolutSnapSwiggyZoho | Easy | Chapter | |
| 617 | Merge Two Binary Treesalso at:AdobeLinkedIn | Easy | — |
Medium 4
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 210 | Course Schedule IIalso at:Arista NetworksDatabricksLinkedIn Also at 24 morePalantirSalesforceSnowflakeAmazonAppleBloombergCars24CitadelCleartripCoinbaseCure.fitDoorDashFlipkartGoogleIntuitMetaMicrosoftNetflixQualcommRobloxSnapTeslaUberUrban Company | Medium | Chapter | |
| 236 | Lowest Common Ancestor of a Binary Tree★ also at:AdobeAtlassianSAP Also at 12 moreSplunkAmazonBloombergByteDanceCiscoeBayFreshworksGoogleIntelIntuitMetaMicrosoft | Medium | Chapter | |
| 443 | String Compressionalso at:CrowdStrikePalantirSalesforce Also at 13 moreSAPAmazoneBayGoldman SachsGoogleLyftMetaMicrosoftPaytmRakutenSnapSpotifyYelp | Medium | — | |
| 1242 | Web Crawler Multithreadedalso at:DatabricksDropboxSnowflake Also at 1 moreOpenAI | Medium | — |
Hard 3
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 23 | Merge k Sorted Lists★ also at:AdobeCloudflareDocuSign Also at 25 morePalantirRipplingVMwareAirbnbAmazonAppleBloombergByteDanceCiscoCitadelDeliverooDoorDasheBayFlipkartGoogleLyftMetaMicrosoftNianticNVIDIANykaaOlaQualcommTwo SigmaX (Twitter) | Hard | Chapter | |
| 642 | Design Search Autocomplete Systemalso at:BloombergCiscoCitadel Also at 4 moreGoogleLyftPinterestRoblox | Hard | Chapter | |
| 2759 | Convert JSON String to Object | Hard | — |
No problems match those filters
Toggle a difficulty back on or clear the search.