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

EDG Associate

Mathworks
upvote
share-icon
5 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, Algorithms, Dynamic Programming, System Design, Graphs.
Tip
Tip

Tip 1 : Learn OOPS concepts in C++ in depth.
Tip 2 : Learn data structures and algorithms to solve coding problems.
Tip 3 : Know about your projects in detail.

Application process
Where: Campus
Eligibility: Above 8 CGPA
Resume Tip
Resume tip

Tip 1 : Have your projects with clear explanation.
Tip 2 : Be concise and on point.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date2 Dec 2019
Coding problem2

This was a technical online test consisting of a variety of questions. A total of 45 questions had to be answered in 90 minutes.
The round was held in the computer lab of IIT Indore during the evening with a total of around 150 students.
The questions asked were based on OOPS concepts, C/C++, Java, Python, Aptitude and two Coding problems.

1. Minimum Jumps

Moderate
25m average time
75% success
0/80
Asked in companies
WalmartDirectiMakeMyTrip

Bob lives with his wife in a city named Berland. Bob is a good husband, so he goes out with his wife every Friday to ‘Arcade’ mall.

‘Arcade’ is a very famous mall in Berland. It has a very unique transportation method between shops. Since the shops in the mall are laying in a straight line, you can jump on a very advanced trampoline from the shop i, and land in any shop between (i) to (i + Arr[i]), where Arr[i] is a constant given for each shop.

There are N shops in the mall, numbered from 0 to N-1. Bob's wife starts her shopping journey from shop 0 and ends it in shop N-1. As the mall is very crowded on Fridays, unfortunately, Bob gets lost from his wife. So he wants to know, what is the minimum number of trampoline jumps from shop 0 he has to make in order to reach shop N-1 and see his wife again. If it is impossible to reach the last shop, return -1.

Problem approach

As I had done the problem before, I knew the solution which involves dynamic programming as mentioned in the Geeksforgeeks link.

Try solving now

2. Triplets with Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
IntuitSamsungGrofers

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

Again I knew this problem and was able to solve it in the optimised manner.

Try solving now
02
Round
Medium
Group Discussion
Duration15 minutes
Interview date3 Dec 2019
Coding problem0

Around 20 students were shortlisted after the first technical round for group discussion. The topic given was 'Would automation in software industry lead to a decrease in jobs?'.

03
Round
Medium
Face to Face
Duration60 minutes
Interview date3 Dec 2019
Coding problem1

This was a technical interview with only one interviewer present and lasted for an hour. There were C++ OOPS conceptual questions, computer science theoretical question (OS, networking, DBMS) and a coding problem based on dynamic programming.

1. Increasing Path In Matrix

Moderate
25m average time
75% success
0/80
Asked in companies
IntuitAppleOracle

You are given a 2-D matrix ‘mat’, consisting of ’N’ rows and ‘M’ columns. The element at the i-th row and j-th column is ‘mat[i][j]’.

From mat[i][j], you can move to mat[i+1][j] if mat[i+1][j] > mat[i][j], or to mat[i][j+1] if mat[i][j+1] > mat[i][j].

Your task is to find and output the longest path length if you start from (0,0) i.e from mat[0][0] and end at any possible cell (i, j) i.e at mat[i][j].

Note :
Consider 0 based indexing.
Problem approach

I was able to solve the dynamic approach without much difficulty and wrote the pseudo code on paper.

Try solving now
04
Round
Medium
Video Call
Duration30 minutes
Interview date3 Dec 2019
Coding problem0

This was a managerial round by the hiring manager. The questions were mainly related to personal profile, like strengths and weaknesses, and challenges faced. The projects in resume were also discussed along with the background.
I was also asked about why MathWorks and why this program.

05
Round
Easy
HR Round
Duration30 minutes
Interview date3 Dec 2019
Coding problem1

1. Basic HR Questions

What is your preferred location?

What you plan to be in future?

How do you rate yourself on a scale from 1 to 10?

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
6 rounds | 10 problems
Interviewed by Mathworks
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Mathworks
1261 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
EDG Engineer
4 rounds | 7 problems
Interviewed by Mathworks
381 views
0 comments
0 upvotes