MathWorks Coding Interview Questions

We track 31 coding questions asked at MathWorks, tagged with the algorithms and concepts they test. The most common: Array, String, Greedy, Dynamic Programming, Math.

Browse all 31 MathWorks questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 31 tracked MathWorks questions that touch each concept. Questions usually involve several, so these overlap.

Where MathWorks differs from the average company

Concept weight at MathWorks relative to the average across all companies we track. Green means MathWorks leans on it harder than most.

MathWorks specialties

Concepts that show up at MathWorks but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 31 tracked MathWorks questions.

  • Junior16% (5)
  • Mid/Senior52% (16)
  • Staff32% (10)

Every concept in MathWorks interviews

ConceptQuestions% of questionsShare of mix
Array1651.6%16.8%
String1032.3%10.6%
Greedy929.0%8.7%
Dynamic Programming825.8%9.7%
Math722.6%7.1%
Hash Table619.4%4.5%
Binary Search516.1%5.7%
Counting412.9%2.5%
Heap (Priority Queue)412.9%2.9%
Simulation39.7%3.7%
Sorting39.7%1.7%
Two Pointers39.7%3.7%
Depth-First Search26.5%1.7%
Linked List26.5%3.4%
Sliding Window26.5%1.7%
Backtracking13.2%0.6%
Binary Tree13.2%0.9%
Bit Manipulation13.2%0.6%
Bitmask13.2%0.6%
Breadth-First Search13.2%0.9%
Combinatorics13.2%0.7%
Game Theory13.2%0.9%
Graph Theory13.2%0.9%
Matrix13.2%1.1%
Memoization13.2%0.6%
Monotonic Queue13.2%0.9%
Monotonic Stack13.2%0.7%
Prefix Sum13.2%1.1%
Queue13.2%0.9%
Recursion13.2%1.7%
Stack13.2%0.7%
String Matching13.2%0.9%
Tree13.2%0.9%

Practice a MathWorks interview

Take a realistic AI-led mock interview with questions MathWorks actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required