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

SDE - 1

Mathworks
upvote
share-icon
2 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Journey
I have completed my engineering in 2016 in Information Technology and pursued a Master's degree called MSIT(Google it if you are not aware of it. It is a different degree from a usual M.tech degree) from IIIT-H. Later in 2018, I cracked an internship at NVIDIA in Pune as a part of my campus placements. After working for 6 months as an intern at NVIDIA, I could not get a PPO for internal reasons. Later in 2018, I was jobless. I did not know what to do. So I searched for jobs online. But unfortunately, all the companies were seeking at least 3 to 5 years of experience which I clearly did not have. So, in search of jobs, I wasted an year without up-skilling myself. Then my father advised me to prepare for banks. So I took his advice and started to go for bank coaching in July 2019. I cleared IBPS Prelims in Sept 2019 but I failed in the Mains exam in Jan 2020. I was shattered and did not have any idea what to do. It was already Jan 2020. 2 years just flew by and I still did not have any job. In Feb 2020, I visited IISc Bangalore on International Science Day on Feb 29th. I clearly remember this day not just because it was a leap day but the experience was memorable and that is when I decided to prepare for GATE 2021 seriously and wanted to do another Master's degree from a reputed institute. I took GATE coaching video lectures from Ravindrababu Ravula who has helped me a lot in my journey of GATE. I cracked GATE-2021 with an All India Rank of 965 and joined IIIT-Bangalore (after a 3 year gap in my career) as an M.Tech student. Journey at IIIT-B is for some other day but in short, it was inspiring and memorable. IIIT-B helped me in cracking a job (internship) at IBM and I am lucky to get this job during our campus placements.
Application story
It was a campus placement. So there was nothing much to do for the application. We had to apply for the companies that we were interested in.
Why selected/rejected for the role?
I was rejected for this role as I could not answer questions in C++. I am a Java guy and they wanted a candidate who could code well in both the languages. Yes, Mathworks has this rule which seems silly but they stick to it at any cost.
Preparation
Duration: 4 months
Topics: Web development, OOPS, Databases, Algorithms, Operating Systems
Tip
Tip

Tip 1 : Make sure you have expertise in the skills they are recruiting for
Tip 2 : Be ready to code in two object oriented languages such as C++ and Java for this company

Application process
Where: Campus
Eligibility: Above 7 CPGA and no current backlogs.
Resume Tip
Resume tip

Tip 1 : Make sure to include at least 1 project in C++ and other in Java.
Tip 2 : Learn concepts from both the above mentioned coding langauges.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date7 Aug 2022
Coding problem2

The timing was from 11AM to 1PM. We had to give the exam in our own classrooms. There were around 40 MCQs and 2 coding questions. Very IMPORTANT: The candidates have to solve the coding questions in 2 different coding languages. If you solve one question in Java, then you cannot solve the other question in Java. Allowed languages were C,C++,Java,Python. Not sure whether python was there or not.

1. Compress the String

Moderate
25m average time
60% success
0/80
Asked in companies
MathworksHSBCPayPal

Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with the count of repetitions.

Example:

If a string has 'x' repeated 5 times, replace this "xxxxx" with "x5".

The string is compressed only when the repeated character count is more than 1.

Note :

The consecutive count of every character in the input string is less than or equal to 9.
Try solving now

2. Minimum Path Sum

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

Ninjaland is a country in the shape of a 2-Dimensional grid 'GRID', with 'N' rows and 'M' columns. Each point in the grid has some cost associated with it.


Find a path from top left i.e. (0, 0) to the bottom right i.e. ('N' - 1, 'M' - 1) which minimizes the sum of the cost of all the numbers along the path. You need to tell the minimum sum of that path.


Note:
You can only move down or right at any point in time.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date8 Aug 2022
Coding problem6

Time was from 11AM to 12PM. The interviewer was pretty chill and made me comfortable before the start of the interview. He was from Hyderabad office.

1. Operating System Question

What do you know about Operating system?

Problem approach

Tip 1 : I answered by saying what an OS and how the processes want the CPU for getting executed.
Tip 2 : Then, I explained about schedulers and process management.

2. Project Question

Tell me one project that you are proud of.

Problem approach

Tip 1 : I explained my gamer forum project from my resume.
Tip 2 : Learn and revise interview questions in the frameworks you have worked in. 
Tip 3 : Highlight the errors and bugs you have encountered and solved in your project.

3. Java Question

Difference between C++ and Java. Where do you use what?

Problem approach

Tip 1 : I could not answer this question properly as I could not give real life examples where one would be used over another.
Tip 2 : As they want you to code in 2 different languages, you have to be up to date with the concepts in at least 2 coding languages.

4. Python Question

What products of Mathworks are you familiar with?

Problem approach

I did not know any of their products and hence I got rejected maybe. Do research about the company and its products beforehand. Else you will end up getting rejected like me.

5. Java Question

What is inheritance and explain it in terms of C++ and Java?

Problem approach

Tip 1 : They were looking for the answers through examples.
Tip 2 : Explain how inheritance is used in Java and C++
Tip 3 : Mention the fact that there's no multiple inheritance in Java.

6. DBMS Question

Difference between SQL and noSQL.

Problem approach

Tip 1: Explain using the technologies that use SQL and noSQL
Tip 2: highlight the similarities also, not just the differences

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 - 1
3 rounds | 4 problems
Interviewed by Mathworks
1297 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Mathworks
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 16 problems
Interviewed by Mathworks
525 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
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes