Mathworks OA |Mathworks Interview Experience

1,601次閱讀

For many fresh graduates who dream of working in cutting-edge tech, MathWorks is an incredibly attractive stage. So what does the MathWorks OA test? Read on.

Mathworks OA |Mathworks Interview Experience

Coding Questions vs. 50 MATLAB Multiple-Choice Questions

The MathWorks online assessment gives you two paths:
1. Solve two coding questions in any programming language.
2. Answer 50 MATLAB multiple-choice questions.
We recommend option 1: the coding path is more predictable and faster to prepare.

If you do need a ready-made bank of MATLAB multiple-choice questions, contact us for our curated collection.

Coding Question 1

Given a palindromic string of lowercase English letters `palindrome`, replace
exactly one character with any lowercase English letter so that the resulting
string is not a palindrome and is lexicographically smallest possible.

Return the resulting string, or an empty string if impossible.

Example:
Input:  palindrome = "abccba"
Output: "aaccba"

Coding Question 2

Given two strings `s` and `t`, return the number of distinct subsequences
of `s` which equal `t`. Test cases guarantee the answer fits in a 32-bit signed integer.

Example:
Input:  s = "rabbbit", t = "rabbit"
Output: 3
Explanation:
There are 3 ways to form "rabbit" from "rabbbit".

Planning to interview at MathWorks? Questions often repeat. With thorough prep, you can ace the OA. Our team of seven elite experts—from top global tech schools—offers full-cycle interview support: coding prep, OA/VO assistance, and remote interview coaching. Reach out at ProgramHelp to get started!

author avatar
Jack Xu MLE | 微软人工智能技术人员
Princeton University博士,人在海外,曾在谷歌、苹果等多家大厂工作。深度学习NLP方向拥有多篇SCI,机器学习方向拥有Github千星⭐️项目。
正文完