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.
Overview
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
Top Shared Topics
89 Shared Questions
High-priority problems to practice for both Google and Infosys.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Add Two Numbers | Medium |
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| Longest Common Prefix | Easy |
| Palindrome Number | Easy |
| Merge Sorted Array | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| 3Sum | Medium |
| Longest Palindromic Substring | Medium |
| Longest Consecutive Sequence | Medium |
| Container With Most Water | Medium |
| Valid Parentheses | Easy |
| Roman to Integer | Easy |
| Merge Intervals | Medium |
| Number of Islands | Medium |
| Maximum Subarray | Medium |
| Reverse Integer | Medium |
| Remove Duplicates from Sorted Array | Easy |
| Subarray Sum Equals K | Medium |
| Climbing Stairs | Easy |
| Merge Two Sorted Lists | Easy |
| Next Permutation | Medium |
| Generate Parentheses | Medium |
| Spiral Matrix | Medium |
| Koko Eating Bananas | Medium |
| Search in Rotated Sorted Array | Medium |
| Move Zeroes | Easy |
| 4Sum | Medium |
Showing top 30 of 89 shared problems.
Unique to Google (2,216)
Problems in Google's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Create Hello World Function | Easy |
| Merge Strings Alternately | Easy |
| Recyclable and Low Fat Products | Easy |
| Majority Element | Easy |
| Meeting Rooms II | Medium |
| Reverse Linked List | Easy |
| Decode String | Medium |
| Add Two Integers | Easy |
| Remove Element | Easy |
| Pascal's Triangle | Easy |
| Minimum Number of Increments on Subarrays to Form a Target Array | Hard |
| LRU Cache | Medium |
Unique to Infosys (16)
Problems in Infosys's list that do not appear at Google.
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.