Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by MathWorks Team. If you also belong to the team, you can get access from here

MathWorks Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

MathWorks SDE Interview Questions and Answers

Updated 10 Sep 2022

MathWorks SDE Interview Experiences

1 interview found

SDE Interview Questions & Answers

user image Anonymous

posted on 10 Sep 2022

I applied via Newspaper Ad and was interviewed in Aug 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Mathematical reasoning , aptitude test, psuedocode

Interview Preparation Tips

Interview preparation tips for other job seekers - be strong with your basics, revise dsa well

Interview questions from similar companies

SDE Interview Questions & Answers

Adobe user image Anonymous

posted on 5 Jun 2015

Interview Questionnaire 

18 Questions

  • Q1. Detail questions on copy constructors were asked
  • Q2. Deep copy, shallow copy (need for explicitly writing copy constructor)
  • Q3. Operating system concepts such as memory Management and semaphores, critical section
  • Q4. Overloading, Overriding(Function and operator both)
  • Q5. Virtual Functions
  • Q6. Resume based interview
  • Q7. Some more discussions on virtual classes and functions, overloading, overriding, copy constructors
  • Q8. Puzzles such as no of 0s in 100!, and water- jug problem
  • Q9. Merge two double linked list. What will be the difference if they are singly linked list
  • Ans. 

    To merge two double linked lists, traverse to the end of the first list and connect it to the head of the second list.

    • Traverse to the end of the first list

    • Connect the last node of the first list to the head of the second list

    • If the lists are singly linked, we need to traverse to the end of the first list and connect it to the head of the second list. But we also need to keep track of the last node of the first list to ...

  • Answered by AI
  • Q10. Make a data structure such that it can store an image dynamically
  • Ans. 

    A dynamic data structure for storing images as arrays of strings.

    • Use a 2D array of strings to represent the image pixels.

    • Implement resizing methods to adjust the size of the image.

    • Include methods for adding, removing, and modifying pixels.

    • Consider using compression techniques to reduce memory usage.

    • Support various image formats such as JPEG, PNG, and BMP.

  • Answered by AI
  • Q11. Copy fixed no of bytes from source to destination and its test cases( ex: copy(source, destination,bytes) so now command copy(a,a+3,8) will not give correct results in some cases and copy(a,a-4,8) will n...
  • Ans. 

    Copying fixed number of bytes from source to destination and its test cases.

    • Ensure source and destination are not overlapping

    • Check if the number of bytes to be copied is greater than the available space in the destination

    • Handle cases where source or destination is NULL

    • Test cases should cover all possible scenarios including edge cases

  • Answered by AI
  • Q12. Some puzzles like weighing problem..N Balls given all of same weight except one..What is the max value of N so that u can figure out the ball with less weight in 2 rounds or 3 rounds
  • Q13. Some HR questions about family and yourself
  • Q14. Detail discussion on virtual functions
  • Q15. Optimized fibonacci program
  • Ans. 

    An optimized Fibonacci program computes Fibonacci numbers efficiently.

    • Use memoization to store previously computed values.

    • Use iterative approach instead of recursive approach.

    • Use bitwise operators to perform arithmetic operations faster.

    • Use matrix exponentiation to compute Fibonacci numbers in logarithmic time.

  • Answered by AI
  • Q16. Solution for solving problems generated by virtual functions
  • Ans. 

    Virtual functions can cause problems due to their dynamic nature, but can be solved using various techniques.

    • Use pure virtual functions to ensure all derived classes implement the function

    • Use interface classes to define a common interface for all derived classes

    • Use smart pointers to manage memory and avoid memory leaks

    • Use virtual destructors to ensure proper destruction of objects

    • Avoid excessive use of virtual function

  • Answered by AI
  • Q17. Some good questions on compile time error check, link time error check and run time error check
  • Q18. One Image puzzle

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

SDE Interview Questions & Answers

UKG user image Anonymous

posted on 20 Oct 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

1 coding question, 19 mcqs on dsa, c++, java, cs fundamnetals

SDE Interview Questions & Answers

Thomson Reuters user image Prashansa Chaudhary

posted on 27 Jan 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Jan 2023. There were 5 interview rounds.

Round 1 - Aptitude Test 

Aptitude is pretty easy

Round 2 - Group Discussion 

Need to be good in communication skills

Round 3 - Technical 

(1 Question)

  • Q1. Focused more on Technical skills and behavioral + tech
Round 4 - One-on-one 

(1 Question)

  • Q1. Resume and project based questions
Round 5 - HR 

(1 Question)

  • Q1. Current work and Salary

SDE Interview Questions & Answers

Amadeus user image Anonymous

posted on 4 Sep 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Apti test was easy 30 min test

Round 2 - HR 

(2 Questions)

  • Q1. How many year of experience
  • Ans. 

    I have 5 years of experience in software development.

    • I have worked in various roles such as software engineer, senior software engineer, and team lead over the past 5 years.

    • During my time in the industry, I have gained experience in developing web applications, mobile apps, and backend systems.

    • I have also worked with technologies such as Java, Python, JavaScript, and SQL.

    • I have experience in Agile methodologies and hav...

  • Answered by AI
  • Q2. Your current ctc ?
  • Ans. 

    My current CTC is $80,000 per year.

    • My current CTC is $80,000 per year.

    • I am currently earning $80,000 annually.

    • My current salary package is $80,000 per annum.

  • Answered by AI

SDE Interview Questions & Answers

Amadeus user image Anonymous

posted on 3 Jan 2025

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Core java questions
  • Q2. Depper into projects
  • Ans. 

    Discussing past projects in depth to showcase skills and experience

    • Explain the problem statement and your approach

    • Discuss the technologies used and challenges faced

    • Highlight your contributions and the outcome

    • Mention any learnings or improvements for future projects

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Basic and sone tricky hr questions

Interview Preparation Tips

Interview preparation tips for other job seekers - 2 rounds technical and hr .go through resume and core concepts and dsa

SDE Interview Questions & Answers

Amadeus user image Ayush Chikate

posted on 20 Dec 2024

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

4 sections verbal logical aptitude and coding(in C)

Round 2 - Technical 

(2 Questions)

  • Q1. Puzzles (GFG Puzzles)
  • Q2. Making patterns of triangle and diamond
  • Ans. 

    Creating patterns of triangle and diamond using characters

    • For triangle pattern, use nested loops to print spaces and characters in each row

    • For diamond pattern, divide the diamond into two triangles and print accordingly

    • Examples: Triangle pattern - * ** *** Diamond pattern - * *** ***** *** *

  • Answered by AI

SDE Interview Questions & Answers

Adobe user image Anonymous

posted on 5 Oct 2023

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

DSA,COMPUTER FUNDAMENTALS

Round 3 - One-on-one 

(1 Question)

  • Q1. TELL ABOUT TREE TRAVERSALS
  • Ans. 

    Tree traversals are methods used to visit each node in a tree data structure in a specific order.

    • Inorder traversal: Visit left subtree, then root, then right subtree

    • Preorder traversal: Visit root, then left subtree, then right subtree

    • Postorder traversal: Visit left subtree, then right subtree, then root

  • Answered by AI

Skills evaluated in this interview

Software Engineer Interview Questions & Answers

Adobe user image Devendra Bendkhale

posted on 4 Dec 2015

Interview Questionnaire 

8 Questions

  • Q1. WRITE A GENERIC SWAP FUNCTION
  • Ans. 

    A generic swap function swaps two values of any data type.

    • The function should take two parameters of any data type.

    • Use a temporary variable to store the value of one parameter.

    • Assign the value of the second parameter to the first parameter.

    • Assign the value of the temporary variable to the second parameter.

  • Answered by AI
  • Q2. SEARCH AN ELEMENT IN ROTATED SORTED LINKLIST .
  • Ans. 

    Search for an element in a rotated sorted linked list.

    • Find the pivot point where the list is rotated.

    • Divide the list into two sublists based on the pivot point.

    • Perform binary search on the appropriate sublist.

    • Handle edge cases such as empty list and list with only one element.

  • Answered by AI
  • Q3. SEARCH AN ELEMENT IN ROTATED SORTED ARRAY. WRITED A CODE FOR IT
  • Ans. 

    Search an element in a rotated sorted array

    • Find the pivot point where the array is rotated

    • Divide the array into two sub-arrays based on pivot point

    • Perform binary search on the appropriate sub-array

    • Repeat until element is found or sub-array size is 1

  • Answered by AI
  • Q4. In an Array of size 95 contain numbers in range 1 to 100. each number is at max once in the array. find the 5 missing numbers in array between 1-100
  • Ans. 

    Find 5 missing numbers in an array of size 95 containing numbers in range 1 to 100.

    • Create a boolean array of size 100 and mark the present numbers

    • Iterate through the boolean array and find the missing numbers

    • Alternatively, use a HashSet to store the present numbers and find the missing ones

  • Answered by AI
  • Q5. Given sudoku as id array of size . in a given empty cell find the possible numbers that could be possible. Asked me to write code for it
  • Ans. 

    Given a Sudoku board, find possible numbers for an empty cell.

    • Iterate through empty cells and check possible numbers using row, column, and box constraints.

    • Use a set to keep track of possible numbers for each empty cell.

    • Return the set of possible numbers for the given empty cell.

  • Answered by AI
  • Q6. Given 4 unsigned integers find their integer average (eg. (2,2,2,3) => (2+2+2+3)/4 = 2) consider integer division ) without typecasting
  • Ans. 

    Find integer average of 4 unsigned integers without typecasting

    • Add all the integers and divide by 4

    • Use bit shifting to divide by 4

    • Handle overflow by using long long data type

    • Use unsigned int data type for input

  • Answered by AI
  • Q7. Write a code to identify wheter given processor is of 32 bit architecture or 64 bit architecture
  • Ans. 

    Code to identify 32 bit or 64 bit architecture of a processor

    • Check if the operating system is 32 bit or 64 bit

    • If OS is 32 bit, processor is 32 bit

    • If OS is 64 bit, check if processor supports 64 bit architecture

    • Use CPUID instruction to check if processor supports 64 bit architecture

  • Answered by AI
  • Q8. Convert a binary number into base 64 integer
  • Ans. 

    Convert binary number to base 64 integer

    • Divide the binary number into groups of 6 bits

    • Convert each group of 6 bits to decimal

    • Map the decimal value to the corresponding base 64 character

    • Concatenate the base 64 characters to form the final integer

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: SIMPLE CODING QUESTIONS SPEED MATTERS.
Duration: 60 minutes
Total Questions: 3

Skills: Analytics And Coding
College Name: IIT Guwahati

Skills evaluated in this interview

I appeared for an interview before Jan 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

The interviewer asked me 2 questions related to DS/Algo in this round . Both the questions were of Easy-Medium difficulty and I was also required to code them in a production ready manner.

  • Q1. 

    Maximum Sum Path in a Binary Tree Problem Statement

    You are provided with a binary tree consisting of N nodes where each node has an integer value. The task is to determine the maximum sum achievable by a...

  • Ans. 

    Find the maximum sum achievable by a simple path between any two nodes in a binary tree.

    • Traverse the binary tree to find all possible paths and calculate their sums.

    • Keep track of the maximum sum encountered during traversal.

    • Consider paths that may include the same node twice.

    • Implement a recursive function to explore all possible paths.

    • Handle cases where nodes have negative values.

  • Answered by AI
  • Q2. 

    Intersection of Two Arrays Problem Statement

    Given two arrays A and B with sizes N and M respectively, both sorted in non-decreasing order, determine their intersection.

    The intersection of two arrays in...

  • Ans. 

    The problem involves finding the intersection of two sorted arrays efficiently.

    • Use two pointers to iterate through both arrays simultaneously.

    • Compare elements at the pointers and move the pointers accordingly.

    • Handle cases where elements are equal, and update the intersection array.

    • Return the intersection array as the result.

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

This round had 2 questions of DS/Algo to solve under 50 minutes and one question related to Operating Systems.

  • Q1. 

    Next Greater Element Problem Statement

    You are provided with an array or list ARR containing N positive integers. Your task is to determine the Next Greater Element (NGE) for each element in the array.

    T...

  • Ans. 

    Find the Next Greater Element for each element in an array.

    • Iterate through the array from right to left

    • Use a stack to keep track of elements with no greater element to the right

    • Pop elements from the stack until finding a greater element or stack is empty

  • Answered by AI
  • Q2. 

    Number In Arithmetic Progression Problem

    Given three integers X, C, and Y, where X is the first term of an arithmetic sequence with a common difference of C, determine if Y is part of this arithmetic sequ...

  • Ans. 

    Check if a given number is part of an arithmetic sequence with a given first term and common difference.

    • Calculate the arithmetic sequence using the formula: nth term = X + (n-1) * C

    • Check if Y is equal to any term in the sequence to determine if it belongs to the sequence

    • Return 'True' if Y belongs to the sequence, otherwise return 'False'

  • Answered by AI
  • Q3. Can you define process and threads in operating systems?
  • Ans. 

    Processes are instances of programs in execution, while threads are smaller units within a process that can execute independently.

    • A process is a program in execution, consisting of code, data, and resources.

    • Threads are smaller units within a process that can execute independently.

    • Processes have their own memory space, while threads share the same memory space within a process.

    • Processes are heavyweight, while threads ar...

  • Answered by AI
Round 3 - Face to Face 

(3 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

This round had 2 questions of DSA of Easy-Medium difficulty and at the end I was asked a Puzzle to check my general problem solving ability.

  • Q1. 

    Max Product Subset Problem Statement

    Given an array/list arr of size n, determine the maximum product possible by taking any subset of the array/list arr. Return the result modulo 10^9+7 since the product ...

  • Ans. 

    Find the maximum product of a subset of an array modulo 10^9+7.

    • Iterate through the array and keep track of the maximum positive product and minimum negative product encountered so far.

    • Handle cases where the array contains zeros separately.

    • Return the maximum product modulo 10^9+7.

  • Answered by AI
  • Q2. 

    Populating Next Right Pointers in Each Node

    Given a complete binary tree with 'N' nodes, your task is to determine the 'next' node immediately to the right in level order for each node in the given tree.

    ...
  • Ans. 

    Implement a function to update 'next' pointers in a complete binary tree.

    • Iterate level by level using a queue

    • Connect nodes at each level using 'next' pointers

    • Handle null nodes appropriately

    • Ensure the tree is a complete binary tree

  • Answered by AI
  • Q3. You have two wires of different lengths that are both capable of burning for exactly one hour when ignited at both ends. How can you measure a time interval of 45 minutes using these two wires?
Round 4 - Face to Face 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

This round consisted of 2 questions from DSA where I was first asked to explain my approach to the interviewer with proper complexity analysis and then code the problems. The interviewer was quite friendly and also provided me some hints when I was stuck.

  • Q1. 

    Stack with getMin Operation

    Create a stack data structure that supports not only the usual push and pop operations but also getMin(), which retrieves the minimum element, all in O(1) time complexity witho...

  • Ans. 

    Implement a stack with push, pop, top, isEmpty, and getMin operations in O(1) time complexity without using extra space.

    • Use two stacks - one to store the actual elements and another to store the minimum element at each level.

    • When pushing an element, check if it is smaller than the current minimum and update the minimum stack accordingly.

    • When popping an element, also pop from the minimum stack if the popped element is t...

  • Answered by AI
  • Q2. 

    Split Array Into Maximum Subarrays Problem Statement

    You are given an integer array arr of size N. Your task is to split the array into the maximum number of subarrays such that the first and last occurre...

  • Ans. 

    Given an array, split it into maximum subarrays with first and last occurrence of each element in a single subarray.

    • Iterate through the array and keep track of the first and last occurrence of each element.

    • Use a hashmap to store the indices of each element.

    • Split the array whenever the last occurrence of an element is found.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAAdobe interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

MathWorks Interview FAQs

How many rounds are there in MathWorks SDE interview?
MathWorks interview process usually has 2 rounds. The most common rounds in the MathWorks interview process are Resume Shortlist and Coding Test.

Tell us how to improve this page.

SDE Interview Questions from Similar Companies

Amadeus SDE Interview Questions
3.9
 • 3 Interviews
Adobe SDE Interview Questions
3.9
 • 2 Interviews
UKG SDE Interview Questions
3.1
 • 1 Interview
Sabre SDE Interview Questions
4.0
 • 1 Interview
Nutanix SDE Interview Questions
3.8
 • 1 Interview
Workday SDE Interview Questions
4.0
 • 1 Interview
View all

MathWorks SDE Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

3.0

Skill development

4.0

Work-life balance

3.0

Salary

4.0

Job security

4.0

Company culture

3.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Software Engineer
100 salaries
unlock blur

₹13 L/yr - ₹30 L/yr

Senior Software Engineer
68 salaries
unlock blur

₹24 L/yr - ₹45.8 L/yr

Associate Software Engineer
47 salaries
unlock blur

₹8.9 L/yr - ₹27 L/yr

Software Developer
30 salaries
unlock blur

₹12 L/yr - ₹28.5 L/yr

Software Engineer2
27 salaries
unlock blur

₹19 L/yr - ₹33 L/yr

Explore more salaries
Compare MathWorks with

24/7 Customer

3.5
Compare

Thomson Reuters

4.1
Compare

Oracle Cerner

3.7
Compare

NextComm Corporation

4.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview