Mathworks interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Mathworks
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey in M.Tech by going through the basics of DSA, and I went to complex topics. Apart from DSA, other computer science topics, like OS, CN, and DBMS, are also necessary, which I already have covered while preparing for the gate exam.
Application story
I applied for MathWorks on my college portal, and there were 7.0 CGPA criteria to sit for the online assessment test. Then I attempted that test in which 2 coding questions were asked, and several MCQs were there. Those were from different topics, including mathematics, C++, C, Java, and Python(Bonus section), out of which you have two choices for a programming language to choose. I have chosen C++, C. C coding questions were also supposed to be attempted in two different languages like C, C++, and Java. Then, I got shortlisted for the interview.
Why selected/rejected for the role?
I was interested in the role they provided me, and I thoroughly researched the requirements they were looking for.
Preparation
Duration: 2 months
Topics: Data structures, OOPS, Algorithms, OS, CN, DBMS
Tip
Tip

Tip 1: Practice standard questions of DSA like DP problems, graph problems, stack/queue, linked list, etc.
Tip 2: Revise technical subjects like operating systems, databases, and networking.
Tip 3: Try to keep at least two good projects in your resume to show your recruiter the working areas you have tried your hands on.
 

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : You should have at least two good projects.
Tip 2 : You should be confident about everything you have written on the resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date7 Jul 2022
Coding problem2

The online assessment was held in the afternoon. The environment was perfect.

1. Rat In a Maze All Paths

Moderate
40m average time
60% success
0/80
Asked in companies
AckoExpedia GroupAdobe

You are given a 'N' * 'N' maze with a rat placed at 'MAZE[0][0]'. Find and print all paths that rat can follow to reach its destination i.e. 'MAZE['N' - 1]['N' - 1]'. Rat can move in any direc­tion ( left, right, up and down).

Value of every cell in the 'MAZE' can either be 0 or 1. Cells with value 0 are blocked means the rat can­not enter into those cells and those with value 1 are open.

Try solving now

2. Fractional Knapsack

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftMathworksOYO

You have been given weights and values of ‘N’ items. You are also given a knapsack of size ‘W’.

Your task is to put the items in the knapsack such that the total value of items in the knapsack is maximum.

Note:
You are allowed to break the items.
Example:
If 'N = 4' and 'W = 10'. The weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. 
Then the best way to fill the knapsack is to choose items with weight 6, 1 and  3. The total value of knapsack = 3 + 6 + 4 = 13.00   
Problem approach

I have used GCD concept to solve this question.

Try solving now
02
Round
Medium
Group Discussion
Duration30 minutes
Interview date16 Jul 2022
Coding problem1

Group discussion was held in the early morning, around 10:00 am. First, they gave us a 10-minute ppt about the Engineering development group role, and the topic of the gd was this only.

1. Group Discussion

What do you expect from this role? What changes do you expect in yourself?

03
Round
Medium
Video Call
Duration50 minutes
Interview date16 Jul 2022
Coding problem2

The time was around 11:00 am. The environment was perfect.

1. Binary to Decimal

Easy
15m average time
80% success
0/40
Asked in companies
OptumMathworksCapegemini Consulting India Private Limited

Ninja is given a binary number as a string ‘S’ of size ‘N’, he is asked to convert it into its decimal equivalent (as an Integer) and print it.

Note:

A binary string is a string in which all characters are either ‘1’ or ‘0’.
Problem approach

Step 1 : I explained the problem in my words.
Step 2 : Then, I gave one approach with two different loops. But he asked me to do this in one loop.
Step 3 : I gave him one loop approach and submitted my code on hacker rank, which got accepted.

Try solving now

2. House Robber

Moderate
26m average time
0/80
Asked in companies
PayPalExpedia GroupGoldman Sachs

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Try solving now
04
Round
Medium
HR Round
Duration30 minutes
Interview date16 Jul 2022
Coding problem1

The time was 05:00 pm, which became hectic as my whole day was gone for the interviews. The interview was pretty good, and I was confident enough to answer every HR question. As I already gave the managerial round, the hr round was a cakewalk for me since most of the questions were pretty same.

1. Basic HR Questions

Tell me about yourself

Tell me about your projects

What were your learnings while doing the projects?

Were there any conflicts between you and your teammates?

Have you received any constructive criticism?

If your friends would describe you, then what would be that description?

 

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
5 rounds | 7 problems
Interviewed by Mathworks
754 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 7 problems
Interviewed by Mathworks
891 views
1 comments
0 upvotes
company logo
SDE - 1
4 rounds | 16 problems
Interviewed by Mathworks
526 views
0 comments
0 upvotes
company logo
Associate in EDG
3 rounds | 3 problems
Interviewed by Mathworks
410 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes