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

SDE - 1

Mathworks
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: C++, DS, C basic, Algorithms, MATLAB, Operating system
Tip
Tip

Tip 1 : Cover modern C++ concepts will preparing for C++. It will really add value
Tip 2 : Do at least 2 projects applying DS, Algo, and programming languages

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

Tip 1 : Mention a project involving different skills
Tip 2 : At least two programming languages

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date21 Jul 2022
Coding problem1

Two programming questions, each to be solved using a different language.

1. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Try solving now
02
Round
Hard
Face to Face
Duration90 minutes
Interview date22 Jul 2022
Coding problem2

The interview was in morning. I was the first person to interview. The interview asked me some basic CPP questions that I have to solve on paper. It was followed by a lot of situation based questions. In the end they discussed projects and my location preferences

1. 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

2. 0 1 Knapsack

Moderate
0/80
Asked in companies
Disney + HotstarOptumAmazon

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and 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.

Try solving now

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 | 8 problems
Interviewed by Mathworks
849 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