Home / Company interviews / MathWorks · Updated
MathWorks interview questions and practice
27 coding questions are known to come up in MathWorks interviews (5 easy, 13 medium, 9 hard). The most common topics are Array, String, Greedy, Dynamic Programming.
Practice interviews built from public job posts and question lists. Each open post links to the original so you can apply on MathWorks’s own site; MathWorks does not run, see or review your practice.
Coding questions MathWorks asks
From public company-tagged interview question lists. Most recent and most frequent first.
- Array15
- String10
- Greedy8
- Dynamic Programming7
- Math6
- Hash Table6
- Binary Search5
- Heap (Priority Queue)4
- Counting4
- Sorting3
- Two Pointers3
- Simulation3
| Question | Difficulty | Asked recently |
|---|---|---|
| Sell Diminishing-Valued Colored Balls | Medium | No |
| Total Cost to Hire K Workers | Medium | No |
| Maximum Number of Alloys | Medium | No |
| Maximum Palindromes After Operations | Medium | No |
| Binary Tree Cameras | Hard | No |
| Shopping Offers | Medium | No |
| Reshape the Matrix | Easy | No |
| Earliest Second to Mark Indices I | Medium | No |
| Earliest Second to Mark Indices II | Hard | No |
| Pass the Pillow | Easy | No |
| Count Anagrams | Hard | No |
| Count Subarrays With Fixed Bounds | Hard | No |
| Remove Colored Pieces if Both Neighbors are the Same Color | Medium | No |
| Minimum Cost Tree From Leaf Values | Medium | No |
| Last Substring in Lexicographical Order | Hard | No |
| Keyboard Row | Easy | No |
| Minimum Edge Reversals So Every Node Is Reachable | Hard | No |
| Minimum Equal Sum of Two Arrays After Replacing Zeros | Medium | No |
| Task Scheduler | Medium | No |
| String Transformation | Hard | No |
| Reverse Nodes in k-Group | Hard | No |
| Total Characters in String After Transformations I | Medium | No |
| Find the Longest Equal Subarray | Medium | No |
| Lexicographically Smallest Palindrome | Easy | No |
| Count Vowel Strings in Ranges | Medium | No |
Questions about MathWorks interviews
What topics do MathWorks interviews cover?
The ones that come up most are Array, String, Greedy, Dynamic Programming, Math.
What coding questions does MathWorks ask?
27 questions are tagged to MathWorks in public interview lists: 5 easy, 13 medium and 9 hard. The most asked include Sell Diminishing-Valued Colored Balls, Total Cost to Hire K Workers, Maximum Number of Alloys.
How do I practise a MathWorks interview?
Answer a 2-minute question for free, then take a mock interview with an AI interviewer, voice and live coding. You get a review that marks the exact line that cost you. The screen and Round 1 of your first role interview are free.
Practise a MathWorks interview before it counts.
Talk it through while you code, and get a review that marks the exact line that cost you. Free to start.
Interviews at similar companies
- Wayfair4 roles · 4 open · 16 questions
- Razorpay11 questions
- IBM3 roles · 3 open · 162 questions
- Walmart Labs143 questions
- Visa132 questions
- PayPal4 roles · 4 open · 96 questions
- DE Shaw108 questions
- Agoda41 questions
- American Express1 role · 1 open · 26 questions
- Squarepoint Capital25 questions
- Google5 roles · 5 open · 1930 questions
- Amazon11 roles · 11 open · 1664 questions