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

SDE - Intern

Mathworks
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structures, Algo, Javascript, React, OOPs, C, C++
Tip
Tip

Tip 1 : Do love babbar's 450 questions sheet
Tip 2 : Have atleast 2 projects and have thorough knowledge of them
Tip 3 : Dont mention anything on your resume that you are not confident about

Application process
Where: Campus
Eligibility: Circuital + mech branches were allowed
Resume Tip
Resume tip

Tip 1 : Have atleast 2 projects, of which you have thorough knowledge
Tip 2 : Be confident of anything you mention in your resume, 
Tip 3 : Its good to have github link of the projects on your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date14 Aug 2021
Coding problem2

- timing was 5:00 AM in the morning
- 2 coding questions and 10 MCQ
- MCQ tested variety of concepts like Database management, OOPS, pointers and C

1. Car Pooling

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonMathworksUber

You are working as a cab driver. Your car moves in a straight line and moves toward the forward direction only. Initially, you have ‘C’ empty seats for the passengers.

Now, you are given ‘N’ number of trips that you have to make. In each trip, you are given three integers ‘Num’, ‘pickPoint’, and ‘dropPoint’ denoting that there are ‘Num’ numbers of passengers standing at 'pickpoint’ and you have to drop them at 'droppoint’.

Your task is to find if it is possible to pick up and drop off all the passengers of all the given trips or not.

Note :
You have a special type of car containing any number of seats.
Problem approach

Build an array add the number at entry index and subtract the number at exit index. after constructing the array, make 2 variables max and cur. cur stores the maximum sum of currently and max stores the maximum sum encountered till now.

Try solving now

2. Distance Of Nearest Cell Having 1 In A Binary Matrix

Moderate
35m average time
65% success
0/80
Asked in companies
FacebookDunzoCIS - Cyber Infrastructure

You have been given a binary matrix 'MAT' containing only 0’s and 1’s of size N x M. You need to find the distance of the nearest cell having 1 in the matrix for each cell.

The distance is calculated as |i1 – i2| + |j1 – j2|, where i1, j1 are the coordinates of the current cell and i2, j2 are the coordinates of the nearest cell having value 1.
Note :
You can only move in four directions which are : Up, Down, Left and Right.
For example :
If N = 3, M = 4

and mat[ ][ ] = { 0, 0, 0, 1,
                  0, 0, 1, 1,
                  0, 1, 1, 0 }

then the output matrix will be

3  2  1  0
2  1  0  0
1  0  0  1
Problem approach

This is solved by an algorithm called multisource bfs, add all the land cells in a queue then apply bfs to find shortest distance of all water cells.

Try solving now
02
Round
Easy
Group Discussion
Duration30 mins
Interview date18 May 2022
Coding problem0

We were given a topic of WFM or WFO

03
Round
Easy
HR Round
Duration30 mins
Interview date18 May 2022
Coding problem1

Round was technical + HR round

1. Basic HR questions

Was asked questions about my project, utility and problems faced and general HR type questions

Problem approach

Tip 1 : be confident while speaking
Tip 2 : Don't take it as an interview take it as a conversation
Tip 3 : When the interviewer asks if you have any questions, never say no always ask something

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 - Intern
4 rounds | 3 problems
Interviewed by Mathworks
1191 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 2 problems
Interviewed by Mathworks
3619 views
0 comments
0 upvotes
company logo
SDE - Intern
5 rounds | 7 problems
Interviewed by Mathworks
732 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 16 problems
Interviewed by Mathworks
506 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes