MathWorks coding interview questions
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
No questions match these filters.
Also reported, being added to AlgoRung (23)
Maximum Difference Between Increasing Elements · Total Cost to Hire K Workers · Maximum Number of Alloys · Shopping Offers · Reshape the Matrix · Count Anagrams · Remove Colored Pieces if Both Neighbors are the Same Color · Last Substring in Lexicographical Order · Minimum Cost Tree From Leaf Values · Earliest Second to Mark Indices II · Earliest Second to Mark Indices I · Keyboard Row · Pass the Pillow · Minimum Equal Sum of Two Arrays After Replacing Zeros · Lexicographically Smallest Palindrome · Count Vowels Permutation · Total Characters in String After Transformations I · String Transformation · Find the Longest Equal Subarray · Verify Preorder Sequence in Binary Search Tree · Beautiful Arrangement · 3Sum Smaller · Counting Bits
Questions people ask
What coding questions does MathWorks ask most?
Cherry Pickup, Implement Queue using Stacks, Sell Diminishing-Valued Colored Balls, Maximum Palindromes After Operations, Binary Tree Cameras, Count Subarrays With Fixed Bounds, Minimum Edge Reversals So Every Node Is Reachable, Task Scheduler.
Which topics come up in MathWorks coding rounds?
arrays, strings, dynamic programming, trees, graphs, stack.
How hard are MathWorks coding questions?
Of the reported questions, 6 are easy, 11 medium and 8 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.