MathWorks vs Uber Interview Questions

MathWorks lists 29 LeetCode interview questions while Uber lists 362. They share 6 problems — 21% of MathWorks's bank and 2% of Uber's. Focus on the overlap first, then drill into 23 MathWorks-only and 356 Uber-only questions.

Overview

MathWorks

29 questions

Easy 5Medium 13Hard 11
Uber

362 questions

Easy 45Medium 215Hard 102

Preparation Strategy

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

Step 2 — Company-specific depth: Add MathWorks-specific problems like Sell Diminishing-Valued Colored Balls, Total Cost to Hire K Workers, Reshape the Matrix and Uber-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
MathWorks
5
Uber
45
Medium
MathWorks
13
Uber
215
Hard
MathWorks
11
Uber
102

Top Shared Topics

6 Shared Questions

High-priority problems to practice for both MathWorks and Uber.

ProblemDifficulty
Count Subarrays With Fixed BoundsHard
Maximum Number of AlloysMedium
Minimum Edge Reversals So Every Node Is ReachableHard
Split Array Largest SumHard
Reverse Nodes in k-GroupHard
Longest Repeating Character ReplacementMedium

Unique to MathWorks (23)

Problems in MathWorks's list that do not appear at Uber.

ProblemDifficulty
Sell Diminishing-Valued Colored BallsMedium
Total Cost to Hire K WorkersMedium
Reshape the MatrixEasy
Binary Tree CamerasHard
Shopping OffersMedium
Earliest Second to Mark Indices IMedium
Earliest Second to Mark Indices IIHard
Maximum Palindromes After OperationsMedium
Keyboard RowEasy
Last Substring in Lexicographical OrderHard
Count AnagramsHard
Minimum Cost Tree From Leaf ValuesMedium

Unique to Uber (356)

Problems in Uber's list that do not appear at MathWorks.

ProblemDifficulty
Bus RoutesHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Alien DictionaryHard
Number of IslandsMedium
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Word SearchMedium
Insert Delete GetRandom O(1)Medium

Frequently Asked Questions

How many LeetCode questions do MathWorks and Uber share?

MathWorks and Uber share 6 LeetCode interview questions. 23 problems appear only in MathWorks's list and 356 appear only in Uber's list.

What topics overlap most between MathWorks and Uber?

The most common shared topics between MathWorks and Uber are Array (3 shared questions), Sliding Window (2 shared questions), Binary Search (2 shared questions), Dynamic Programming (2 shared questions), Queue (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: MathWorks or Uber?

MathWorks has 5 Easy, 13 Medium, and 11 Hard questions. Uber has 45 Easy, 215 Medium, and 102 Hard questions. MathWorks has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both MathWorks and Uber?

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

Explore More