Infosys vs MongoDB Interview Questions

Infosys lists 105 LeetCode interview questions while MongoDB lists 24. They share 3 problems — 3% of Infosys's bank and 13% of MongoDB's. Focus on the overlap first, then drill into 102 Infosys-only and 21 MongoDB-only questions.

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
MongoDB

24 questions

Easy 3Medium 15Hard 6

Preparation Strategy

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

Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Two Sum, Find Building Where Alice and Bob Can Meet and MongoDB-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Infosys
32
MongoDB
3
Medium
Infosys
57
MongoDB
15
Hard
Infosys
16
MongoDB
6

Top Shared Topics

3 Shared Questions

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

ProblemDifficulty
Merge IntervalsMedium
Merge Two Sorted ListsEasy
Search in Rotated Sorted ArrayMedium

Unique to Infosys (102)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Two SumEasy
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Longest Substring Without Repeating CharactersMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy

Unique to MongoDB (21)

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

ProblemDifficulty
Word BreakMedium
Implement Trie (Prefix Tree)Medium
Snapshot ArrayMedium
Intersection of Two ArraysEasy
Text JustificationHard
Merge k Sorted ListsHard
LRU CacheMedium
Convert JSON String to ObjectHard
Insert IntervalMedium
Web Crawler MultithreadedMedium
Stock Price FluctuationMedium
Course Schedule IIMedium

Frequently Asked Questions

How many LeetCode questions do Infosys and MongoDB share?

Infosys and MongoDB share 3 LeetCode interview questions. 102 problems appear only in Infosys's list and 21 appear only in MongoDB's list.

What topics overlap most between Infosys and MongoDB?

The most common shared topics between Infosys and MongoDB are Array (2 shared questions), Sorting (1 shared questions), Linked List (1 shared questions), Recursion (1 shared questions), Binary Search (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Infosys or MongoDB?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. MongoDB has 3 Easy, 15 Medium, and 6 Hard questions. MongoDB has a higher proportion of Hard problems in its interview set.

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

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

Explore More