MathWorks vs Visa Interview Questions

MathWorks lists 29 LeetCode interview questions while Visa lists 146. They share 5 problems — 17% of MathWorks's bank and 3% of Visa's. Focus on the overlap first, then drill into 24 MathWorks-only and 141 Visa-only questions.

Overview

MathWorks

29 questions

Easy 5Medium 13Hard 11
Visa

146 questions

Easy 32Medium 92Hard 22

Preparation Strategy

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

Step 2 — Company-specific depth: Add MathWorks-specific problems like Count Subarrays With Fixed Bounds, Maximum Number of Alloys, Total Cost to Hire K Workers and Visa-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
Visa
32
Medium
MathWorks
13
Visa
92
Hard
MathWorks
11
Visa
22

Top Shared Topics

5 Shared Questions

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

ProblemDifficulty
Sell Diminishing-Valued Colored BallsMedium
Maximum Palindromes After OperationsMedium
Number of Divisible Triplet SumsMedium
Reverse Nodes in k-GroupHard
Beautiful ArrangementMedium

Unique to MathWorks (24)

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

ProblemDifficulty
Count Subarrays With Fixed BoundsHard
Maximum Number of AlloysMedium
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
Keyboard RowEasy
Last Substring in Lexicographical OrderHard
Count AnagramsHard
Minimum Cost Tree From Leaf ValuesMedium

Unique to Visa (141)

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

ProblemDifficulty
Text JustificationHard
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Two SumEasy
Split the ArrayEasy
3SumMedium
Longest Substring Without Repeating CharactersMedium
Minimum Operations to Write the Letter Y on a GridMedium
Find the Length of the Longest Common PrefixMedium
Best Time to Buy and Sell StockEasy
LRU CacheMedium
Block Placement QueriesHard

Frequently Asked Questions

How many LeetCode questions do MathWorks and Visa share?

MathWorks and Visa share 5 LeetCode interview questions. 24 problems appear only in MathWorks's list and 141 appear only in Visa's list.

What topics overlap most between MathWorks and Visa?

The most common shared topics between MathWorks and Visa are Array (4 shared questions), Greedy (2 shared questions), Sorting (2 shared questions), Hash Table (2 shared questions), Math (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: MathWorks or Visa?

MathWorks has 5 Easy, 13 Medium, and 11 Hard questions. Visa has 32 Easy, 92 Medium, and 22 Hard questions. MathWorks has a higher proportion of Hard problems in its interview set.

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

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

Explore More