Apple vs Microsoft Interview Questions

Apple lists 300 LeetCode interview questions while Microsoft lists 192. They share 119 problems — 40% of Apple's bank and 62% of Microsoft's. Focus on the overlap first, then drill into 181 Apple-only and 73 Microsoft-only questions.

Read the full Apple vs Microsoft preparation guide →

Overview

Apple

300 questions

Easy 76Medium 178Hard 46
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

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

Step 2 — Company-specific depth: Add Apple-specific problems like Design Hit Counter, Top K Frequent Elements, Valid Palindrome and Microsoft-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
Microsoft
55
Medium
Apple
178
Microsoft
109
Hard
Apple
46
Microsoft
28

Top Shared Topics

119 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Two SumEasy
Number of IslandsMedium
Merge IntervalsMedium
Best Time to Buy and Sell StockEasy
Longest Common PrefixEasy
Rotate ArrayMedium
Reverse Linked ListEasy
Valid SudokuMedium
Group AnagramsMedium
Course Schedule IIMedium
Course ScheduleMedium
Valid ParenthesesEasy
Longest Substring Without Repeating CharactersMedium
Product of Array Except SelfMedium
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
Merge k Sorted ListsHard
Meeting Rooms IIMedium
Trapping Rain WaterHard
Lowest Common Ancestor of a Binary TreeMedium
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Find First and Last Position of Element in Sorted ArrayMedium
Merge Two Sorted ListsEasy

Showing top 30 of 119 shared problems.

Unique to Apple (181)

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

ProblemDifficulty
Design Hit CounterMedium
Top K Frequent ElementsMedium
Valid PalindromeEasy
Time Based Key-Value StoreMedium
Subarray Product Less Than KMedium
Reverse BitsEasy
Snapshot ArrayMedium
Design Circular QueueMedium
Number of 1 BitsEasy
Insert Delete GetRandom O(1)Medium
Basic Calculator IIMedium
Compare Version NumbersMedium

Unique to Microsoft (73)

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

ProblemDifficulty
Single Element in a Sorted ArrayMedium
Palindrome NumberEasy
Create Hello World FunctionEasy
Minimum Edge Reversals So Every Node Is ReachableHard
K-th Smallest in Lexicographical OrderHard
Next PermutationMedium
Recyclable and Low Fat ProductsEasy
Minimum Path SumMedium
Unique PathsMedium
Swap Nodes in PairsMedium
Search Insert PositionEasy
Pow(x, n)Medium

Frequently Asked Questions

How many LeetCode questions do Apple and Microsoft share?

Apple and Microsoft share 119 LeetCode interview questions. 181 problems appear only in Apple's list and 73 appear only in Microsoft's list.

What topics overlap most between Apple and Microsoft?

The most common shared topics between Apple and Microsoft are Array (19 shared questions), Hash Table (6 shared questions), String (5 shared questions), Linked List (4 shared questions), Depth-First Search (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Apple or Microsoft?

Apple has 76 Easy, 178 Medium, and 46 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Apple has a higher proportion of Hard problems in its interview set.

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

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

Explore More