i
MathWorks
Filter interviews by
Reverse a linked list by changing the next pointers of each node to point to the previous node.
Start with three pointers: current, previous, and next.
Iterate through the list, updating the next pointer of each node to point to the previous node.
Update the previous, current, and next pointers for each iteration.
I have a strong interest in Matlab due to its powerful data analysis and visualization capabilities.
I have experience using Matlab for data analysis and visualization in my academic projects.
I find Matlab's syntax to be intuitive and easy to learn.
I appreciate Matlab's extensive library of functions for various mathematical and engineering tasks.
You are a cab driver with a car that initially has 'C' empty seats. The car moves in a straight line towards the forward direction only. Your job is to determine if it is possi...
Determine if it is possible to handle all passenger trips within the car capacity without exceeding it at any point.
Iterate through each trip and keep track of the total number of passengers in the car at each point.
Check if the total number of passengers exceeds the car capacity at any point, return 'False'. Otherwise, return 'True'.
Given a binary matrix MAT
containing only 0s and 1s of size N x M, find the distance of the nearest cell containing 1 for each cell in the matrix.
The dist...
Given a binary matrix, find the distance of the nearest cell containing 1 for each cell in the matrix.
Iterate through the matrix and for each cell, find the nearest cell containing 1 using BFS or DFS.
Calculate the distance using the formula |i1 – i2| + |j1 – j2|.
Update the matrix with the distances to the nearest cell with 1.
Handle edge cases like cells already containing 1 or cells with no 1s nearby.
Ensure moveme...
You and your friend Ninjax are engaged in a strategic game involving coins. Ninjax arranges 'N' coins in a linear sequence.
1. Each ...
Determine the maximum amount you can win in a coin game by selecting coins strategically.
Start by understanding the rules of the game and the goal of maximizing winnings.
Consider the fact that you can choose either the first or last coin in each turn.
Think about how to ensure you make the best choice at each turn to guarantee the maximum win.
Examples: For the input 4 9 5 21 7, selecting coins in the order of 9 and...
Given a Binary Search Tree (BST) of integers, your task is to convert it into a greater sum tree. In the greater sum tree, each node's value should be replaced with the sum ...
Convert a Binary Search Tree into a Greater Sum Tree by replacing each node's value with the sum of all nodes' values greater than the current node's value.
Traverse the BST in reverse inorder (right-root-left) to visit nodes in descending order.
Keep track of the running sum of visited nodes and update each node's value with this sum.
Recursively apply the above steps to all nodes in the BST.
Example: For the input B...
You are given an array ARR
and a positive integer K
. Your task is to count the total number of pairs within the array whose sum is divisible by K
.
ARR = [4, 3,...
Count pairs in an array whose sum is divisible by a given integer K.
Iterate through the array and calculate the remainder of each element when divided by K.
Store the remainders in a hashmap along with their frequencies.
For each remainder R, check if K - R is present in the hashmap and add the product of their frequencies to the count.
Return the total count of pairs whose sum is divisible by K.
Ninja is looking to hire 'ugly ninjas' whose numbers have all prime factors from a given list. Your task is to help him find the K-th ugly ninja.
You will be given an arr...
Find the K-th ugly ninja number using prime factors from a given list.
Generate ugly numbers using prime factors from PRIME_ARR
Keep track of the K-th ugly number
Return the K-th ugly number
2.5 hrs test which includes python, java, c++ and aptitude
Topic was, which was better, work from office or work from home
I prefer a dynamic job location that fosters collaboration and innovation, ideally in a vibrant urban setting.
Proximity to industry hubs: Being near tech companies or startups can enhance networking opportunities.
Access to resources: Locations with research facilities or libraries can support my learning and development.
Cultural diversity: Working in a city with a mix of cultures can enrich my experience and broaden my...
I applied via Campus Placement
The gd was good and was eliminator round
I applied via Referral and was interviewed before Mar 2023. There were 3 interview rounds.
2 easy DSA questions
I have a strong interest in Matlab due to its powerful data analysis and visualization capabilities.
I have experience using Matlab for data analysis and visualization in my academic projects.
I find Matlab's syntax to be intuitive and easy to learn.
I appreciate Matlab's extensive library of functions for various mathematical and engineering tasks.
Standard coding test
Reverse a linked list by changing the next pointers of each node to point to the previous node.
Start with three pointers: current, previous, and next.
Iterate through the list, updating the next pointer of each node to point to the previous node.
Update the previous, current, and next pointers for each iteration.
I applied via Campus Placement and was interviewed in Dec 2022. There were 4 interview rounds.
The first round was coding plus domain oriented. Questions from the individual's specialization were asked.
Before the group discussion a preplacement talk happened and the topic for GD was from the PPT. Candidates were divided into teams of 4.
I appeared for an interview in Aug 2022.
Round duration - 60 minutes
Round difficulty - Medium
The round was in morning at 8 am. The round had questions from control systems, embedded systems, c++ , python and matlab. There were 2 coding questions too
Determine the number of permutations of list A
= [1, 2, ..., N] such that for every index i
, either A[i]
is divisible by i
or i
is divisible by A[i]
.
The input start...
Round duration - 20 minutes
Round difficulty - Easy
It was based on pre placement talk and role of EDG basically
Round duration - 60 minutes
Round difficulty - Medium
So, first the interviewer introduced himself and after that I introduced myself.
So technical round began with questions from
# power system like ferranti effect,in what ways we can decrease that and all.
#power electronics : which of these is fastest in switching. BJT, IGBT.
#control systems : if we add Derivative to PI controller what happens.
# machines : what motor is used in fans.
Then they told me to describe one of my projects and all.
After that he told me to share my screen. So, sir wrote a code on that involving pointer and asks me to identify the mistake. after that no. was given and he asked me to do that in the form a^b + b^a. After that he told me to write a program on factorial of a number. Then 2-3 more questions and he asked me about job location preference and i asked him some questions
Round duration - 50 minutes
Round difficulty - Medium
He asked me different questions like introduction, stengths , how i manage time , how i prioritise work, how i handled conflicts between team members, biggest achievement,worst feedback i had got and how i handled, when you missed some deadline what you did, difficulty on project. All these questions i had to answer with real life examples.
Tip 1 : cover all the basics
Tip 2 : resume must be strong
Tip 1 : Thorough knowledge of things mentioned
Tip 2 : Project related to MATLAB Simulink gives an edge
I applied via Campus Placement and was interviewed before Nov 2023. There were 3 interview rounds.
Leetcode medium question
I applied via Campus Placement and was interviewed in Jul 2022. There were 4 interview rounds.
44 Questions of C++, Java, Maths, 2 coding questions etc.
Discuss for 10 minutes on a topic given.
I applied via Walk-in and was interviewed before Aug 2023. There were 2 interview rounds.
DS and algo with C and C++
I am a recent graduate with a degree in Computer Science and a passion for coding and problem-solving.
Recent graduate with a degree in Computer Science
Passionate about coding and problem-solving
Top trending discussions
The duration of MathWorks interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 10 interview experiences
Difficulty level
Duration
based on 143 reviews
Rating in categories
Software Engineer
125
salaries
| ₹18 L/yr - ₹30 L/yr |
Senior Software Engineer
82
salaries
| ₹27 L/yr - ₹47 L/yr |
Associate Software Engineer
48
salaries
| ₹16.4 L/yr - ₹27 L/yr |
Software Developer
28
salaries
| ₹10.1 L/yr - ₹33 L/yr |
Software Engineer2
27
salaries
| ₹22.5 L/yr - ₹33 L/yr |
24/7 Customer
Thomson Reuters
Oracle Cerner
Adobe