Apple vs Infosys Interview Questions

Apple lists 300 LeetCode interview questions while Infosys lists 105. They share 59 problems — 20% of Apple's bank and 56% of Infosys's. Focus on the overlap first, then drill into 241 Apple-only and 46 Infosys-only questions.

Read the full Apple vs Infosys preparation guide →

Overview

Apple

300 questions

Easy 76Medium 178Hard 46
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

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

Step 2 — Company-specific depth: Add Apple-specific problems like LRU Cache, Design Hit Counter, Reverse Linked List and Infosys-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Apple
76
Infosys
32
Medium
Apple
178
Infosys
57
Hard
Apple
46
Infosys
16

Top Shared Topics

59 Shared Questions

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

ProblemDifficulty
Two SumEasy
Number of IslandsMedium
Merge IntervalsMedium
Best Time to Buy and Sell StockEasy
Longest Common PrefixEasy
Rotate ArrayMedium
Group AnagramsMedium
Valid ParenthesesEasy
Longest Substring Without Repeating CharactersMedium
Product of Array Except SelfMedium
Valid PalindromeEasy
Rotate ImageMedium
Reverse Words in a StringMedium
Kth Largest Element in an ArrayMedium
Spiral MatrixMedium
Best Time to Buy and Sell Stock IIMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Trapping Rain WaterHard
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Merge Two Sorted ListsEasy
Move ZeroesEasy
Climbing StairsEasy
Merge Sorted ArrayEasy
Find the Index of the First Occurrence in a StringEasy
3SumMedium
Sqrt(x)Easy
Longest Consecutive SequenceMedium
Remove Duplicates from Sorted ArrayEasy

Showing top 30 of 59 shared problems.

Unique to Apple (241)

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

ProblemDifficulty
LRU CacheMedium
Design Hit CounterMedium
Reverse Linked ListEasy
Valid SudokuMedium
Top K Frequent ElementsMedium
Course Schedule IIMedium
Course ScheduleMedium
Merge k Sorted ListsHard
Meeting Rooms IIMedium
Time Based Key-Value StoreMedium
Lowest Common Ancestor of a Binary TreeMedium
Subarray Product Less Than KMedium

Unique to Infosys (46)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Minimum Total Distance TraveledHard

Frequently Asked Questions

How many LeetCode questions do Apple and Infosys share?

Apple and Infosys share 59 LeetCode interview questions. 241 problems appear only in Apple's list and 46 appear only in Infosys's list.

What topics overlap most between Apple and Infosys?

The most common shared topics between Apple and Infosys are Array (21 shared questions), Two Pointers (9 shared questions), String (7 shared questions), Hash Table (5 shared questions), Sorting (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Apple or Infosys?

Apple has 76 Easy, 178 Medium, and 46 Hard questions. Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Apple has a higher proportion of Hard problems in its interview set.

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

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

Explore More