i
MathWorks
Filter interviews by
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 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.
I appeared for an interview in May 2022.
Round duration - 90 mins
Round difficulty - Medium
- 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
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 poss...
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 dis...
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 movements a...
Round duration - 30 mins
Round difficulty - Easy
Round was technical + HR round
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
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
I appeared for an interview in Aug 2021.
Round duration - 60 minutes
Round difficulty - Medium
Timing: The test was conducted at around 6pm.
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 21 r...
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 BST [4...
Tip 1 : Revision of important topics and questions is key
Tip 2 : You should have thorough knowledge of the tech stack you have used in your projects
Tip 1 : Highlight the important points in your CV. Could be some algorithm you implemented in your project or key frameworks you used.
Tip 2 : Try to have a single page resume with concise information highlighting your key achievements.
Tip 3 : Don't write anything you can't answer questions on.
I appeared for an interview in Jul 2021.
Round duration - 60 Minutes
Round difficulty - Easy
It was somewhere in the middle of the day and was around 60 mins long .
It consisted of three sections
one is aptitude
then other was related to comm skills related
and the last one was 2 coding question ( each have to be done in different programming language ).
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 ar...
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
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.
Round duration - 30 Minutes
Round difficulty - Easy
It was a round with HR and these questions were asked
Tip 1 : Be consistent like never ever leave even a single day practice even if you have other commitments
Tip 2 : Follow one resource properly as there are tons of resources available but try to pick one only and start other only if you are finished with the first resource
Tip 3 : There is no set defined number for the number of question you have to do , just focus on the quality of questions . Eg : 1 good hard level problem >>>> 25 easy problems like sum of array etc.
Tip 1 : Try not to stuff your resume with fancy things like multiple small small projects
Tip 2 : Try to provide links for the project you are giving as it provides credibility of your work which you have shown.
Top trending discussions
I applied via Referral and was interviewed before Apr 2020. There were 3 interview rounds.
I am a software engineer with experience in developing web applications and mobile apps.
Proficient in programming languages such as Java, Python, and JavaScript
Experience in developing RESTful APIs and integrating third-party APIs
Familiarity with front-end frameworks such as React and Angular
Strong understanding of database management systems such as MySQL and MongoDB
Passionate about learning new technologies and keepi...
Software industry offers endless opportunities for innovation and growth.
Software industry is constantly evolving and offers opportunities to work on cutting-edge technologies.
It provides a platform to solve complex problems and create innovative solutions.
The demand for software engineers is high and the industry offers competitive salaries.
Core industries may have limited scope for growth and innovation compared to s...
Program to print a given string in reverse
Create a character array of the given string
Loop through the array from end to start and print each character
Mux is a device that selects one of several input signals and forwards the selected input into a single output line.
Mux stands for Multiplexer.
It is used in digital circuits to select one of several input signals and forward the selected input into a single output line.
It is used in communication systems to combine multiple signals into a single channel for transmission.
It is used in video and audio systems to switch b...
DeMux is short for Demultiplexer. It is a digital circuit that takes one input and directs it to multiple outputs.
DeMux is used in digital communication systems to separate signals that have been combined for transmission.
It is also used in computer memory systems to select a specific memory location.
DeMux is used in video and audio systems to separate different channels of information.
It is used in automation systems ...
Decoder converts encoded data into a readable format while Demux separates a single input into multiple outputs.
Decoder is used to decode encoded data such as binary data into a readable format.
Demux is used to separate a single input into multiple outputs based on the control signals.
Decoder is a combinational circuit while Demux is a sequential circuit.
Decoder is used in applications such as remote controls, computer...
Amadeus Labs is a leading technology company in the travel industry.
Amadeus Labs provides opportunities to work on cutting-edge technologies.
The company has a strong focus on innovation and research.
Amadeus Labs has a global presence and offers a diverse and inclusive work environment.
Working at Amadeus Labs provides the opportunity to make a real impact on the travel industry.
The company values work-life balance and o...
Yes, I am comfortable working for Testing.
I have experience in testing and understand its importance in software development.
I am willing to learn new testing techniques and tools.
I am comfortable working with testing teams and collaborating with them to ensure quality software.
I understand the importance of testing in ensuring customer satisfaction and reducing costs.
Examples: I have experience in manual and automated...
I have the necessary skills and experience to excel in the developer role.
I have a degree in computer science and have completed multiple coding projects.
I am proficient in programming languages such as Java, Python, and C++.
I have experience working with databases and web development frameworks.
I am a quick learner and enjoy solving complex problems.
I am a team player and have collaborated with other developers on var...
I appeared for an interview in Aug 2016.
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.
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.
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
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.
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
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
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
Creating test cases for random scenarios ensures software reliability and robustness through diverse input validation.
Identify edge cases: Test with minimum and maximum input values, e.g., an empty array vs. a large array.
Use random data: Generate random inputs to simulate real-world usage, e.g., random user names or passwords.
Test invalid inputs: Ensure the system handles unexpected inputs gracefully, e.g., negative n...
based on 1 interview experience
Software Engineer
124
salaries
| ₹13 L/yr - ₹30 L/yr |
Senior Software Engineer
80
salaries
| ₹21 L/yr - ₹47 L/yr |
Associate Software Engineer
48
salaries
| ₹12 L/yr - ₹27 L/yr |
Software Developer
28
salaries
| ₹10.1 L/yr - ₹33 L/yr |
Software Engineer2
27
salaries
| ₹22.5 L/yr - ₹32 L/yr |
24/7 Customer
Thomson Reuters
Oracle Cerner
Adobe