Amazon vs Infosys Interview Questions

Amazon lists 1,968 LeetCode interview questions while Infosys lists 105. They share 87 problems — 4% of Amazon's bank and 83% of Infosys's. Focus on the overlap first, then drill into 1,881 Amazon-only and 18 Infosys-only questions.

Read the full Amazon vs Infosys preparation guide →

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

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

Step 2 — Company-specific depth: Add Amazon-specific problems like LRU Cache, Reorganize String, Course Schedule and Infosys-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Amazon
527
Infosys
32
Medium
Amazon
1074
Infosys
57
Hard
Amazon
367
Infosys
16

Top Shared Topics

87 Shared Questions

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

ProblemDifficulty
Two SumEasy
Trapping Rain WaterHard
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
3SumMedium
Longest Palindromic SubstringMedium
Merge IntervalsMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard
Koko Eating BananasMedium
Valid ParenthesesEasy
Longest Common PrefixEasy
Subarray Sum Equals KMedium
Merge Sorted ArrayEasy
Search in Rotated Sorted ArrayMedium
Maximum SubarrayMedium
Longest Consecutive SequenceMedium
Generate ParenthesesMedium
Palindrome NumberEasy
Product of Array Except SelfMedium
Merge Two Sorted ListsEasy
Jump GameMedium
Climbing StairsEasy
House RobberMedium
Spiral MatrixMedium
Valid AnagramEasy
Rotate ImageMedium

Showing top 30 of 87 shared problems.

Unique to Amazon (1,881)

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

ProblemDifficulty
LRU CacheMedium
Reorganize StringMedium
Course ScheduleMedium
Merge k Sorted ListsHard
Rotting OrangesMedium
Top K Frequent ElementsMedium
Copy List with Random PointerMedium
Lowest Common Ancestor of a Binary TreeMedium
Word LadderHard
Majority ElementEasy
Letter Combinations of a Phone NumberMedium
Course Schedule IIMedium

Unique to Infosys (18)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Minimum Reverse OperationsHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Maximum Product After K IncrementsMedium
Maximum Segment Sum After RemovalsHard
Longest Well-Performing IntervalMedium
Number of Beautiful Integers in the RangeHard

Frequently Asked Questions

How many LeetCode questions do Amazon and Infosys share?

Amazon and Infosys share 87 LeetCode interview questions. 1881 problems appear only in Amazon's list and 18 appear only in Infosys's list.

What topics overlap most between Amazon and Infosys?

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

Which company asks harder LeetCode questions: Amazon or Infosys?

Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Amazon has a higher proportion of Hard problems in its interview set.

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

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

Explore More