MathWorks · HackerRank
MathWorks OA mock: 2 questions in 60 minutes
Take a timed MathWorks OA mock on CSWork: 2 coding questions in 60 minutes, judged online HackerRank-style, auto-submitted at time-up and scored.
Start the MathWorks mock →17 judgeable problems in the pool (OA bank + frequent LeetCode)
The real MathWorks OA format
- Platform
- HackerRank
- Questions
- 2
- Time limit
- 60 minutes
- Difficulty order
- medium → medium
- Scoring
- Each question 0–100 by tests passed
- Roles
- SWE intern, New grad (EDG)
- Besides coding
- HireVue video first (why MathWorks); some batches add MATLAB / math MCQs
EDG (new grad) and interns: 2 HackerRank medium problems (strings, sliding window, matrices). 2026 reports omit the duration; earlier ones range 45–90 min, 60 used here.
What the MathWorks OA tests
Two mediums, heavy on greedy and math (sieve, gcd, Euler's totient), plus matrix manipulation and prefix sums or binary search. Slow solutions fail the performance tests.
Pick a topic to practise its stop on Line 500.
Estimated difficulty mix
- easy 14%
- medium 77%
- hard 9%
- Style
- Reported problems include computing Euler's totient for every value in a list (needs a sieve) and in-place array and matrix transforms. Older versions mixed in math and CS MCQs; reports disagree on difficulty.
- How to prepare
- Brush up on number theory (sieve, gcd, totient) and in-place matrix operations, and estimate complexity at max input size before submitting. Doing the optional MATLAB section reportedly helps.
What this mock simulates
- 2 coding questions, in the order medium → medium
- A 60-minute countdown that keeps running if you leave, and submits itself at zero
- Problems drawn from MathWorks's OA bank and its frequent LeetCode questions, preferring ones you have not solved
- First, 10 multiple-choice questions in 20 minutes (original questions on the real OA's topics); you can turn them off at check-in
- Solutions and hints stay hidden until you finish; then a score report and the solutions
Not simulated
- HireVue video first (why MathWorks); some batches add MATLAB / math MCQs (the MCQ part is simulated)
- Camera, microphone or screen proctoring, and plagiarism checks
- HackerRank's own editor; you use the CSWork editor and judge