Google vs Infosys Interview Questions

Google lists 2,305 LeetCode interview questions while Infosys lists 105. They share 89 problems — 4% of Google's bank and 85% of Infosys's. Focus on the overlap first, then drill into 2,216 Google-only and 16 Infosys-only questions.

Read the full Google vs Infosys preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

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

Step 2 — Company-specific depth: Add Google-specific problems like Create Hello World Function, Merge Strings Alternately, Recyclable and Low Fat Products and Infosys-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Google
601
Infosys
32
Medium
Google
1205
Infosys
57
Hard
Google
499
Infosys
16

Top Shared Topics

89 Shared Questions

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

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Longest Palindromic SubstringMedium
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Valid ParenthesesEasy
Roman to IntegerEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Climbing StairsEasy
Merge Two Sorted ListsEasy
Next PermutationMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Koko Eating BananasMedium
Search in Rotated Sorted ArrayMedium
Move ZeroesEasy
4SumMedium

Showing top 30 of 89 shared problems.

Unique to Google (2,216)

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

ProblemDifficulty
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Recyclable and Low Fat ProductsEasy
Majority ElementEasy
Meeting Rooms IIMedium
Reverse Linked ListEasy
Decode StringMedium
Add Two IntegersEasy
Remove ElementEasy
Pascal's TriangleEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
LRU CacheMedium

Unique to Infosys (16)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Minimum Reverse OperationsHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximize the Minimum Game ScoreHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Maximum Segment Sum After RemovalsHard
Longest Well-Performing IntervalMedium
Number of Beautiful Integers in the RangeHard
Maximum Number of Consecutive Values You Can MakeMedium
Can Convert String in K MovesMedium

Frequently Asked Questions

How many LeetCode questions do Google and Infosys share?

Google and Infosys share 89 LeetCode interview questions. 2216 problems appear only in Google's list and 16 appear only in Infosys's list.

What topics overlap most between Google and Infosys?

The most common shared topics between Google and Infosys are Array (20 shared questions), Two Pointers (9 shared questions), Dynamic Programming (6 shared questions), String (6 shared questions), Hash Table (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Google or Infosys?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More