i
MathWorks
Filter interviews by
I applied via Campus Placement and was interviewed before Feb 2023. There were 3 interview rounds.
Medium Leetcode problems around binary search and arrays.
The scope of driverless vehicles in India
Top trending discussions
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
Timing: 90 mins
Environment: Online coding round
No of questions: 3 Questions(225 marks) were asked.
You are provided with an array of integers. The task is to sort the array in ascending order using the quick sort algorithm.
Quick sort is a divide-and-conquer algorithm. It ...
Yes, the quick sort algorithm can be enhanced to achieve NlogN complexity in the worst case by using randomized quick sort or median of three pivot selection.
Use randomized quick sort to randomly select the pivot element, reducing the chances of worst-case scenarios.
Implement median of three pivot selection to choose a pivot that is closer to the median value, improving partitioning efficiency.
Consider using dual pivot...
You are given an encrypted string where repeated substrings are represented by the substring followed by its count. Your task is to find the K'th character of the d...
Given an encrypted string with repeated substrings represented by counts, find the K'th character of the decrypted string.
Parse the encrypted string to extract substrings and their counts
Iterate through the substrings and counts to build the decrypted string
Track the position in the decrypted string to find the K'th character
You have 'N' jobs, each with a start time, end time, and profit. Your task is to identify the maximum profit that can be earned by scheduling these jobs such that...
The Weighted Job Scheduling problem involves maximizing profit by scheduling non-overlapping jobs with given start times, end times, and profits.
Sort the jobs by end time in ascending order.
Initialize an array 'dp' to store maximum profit at each job index.
For each job, find the latest non-overlapping job and update 'dp' with the maximum profit.
Return the maximum profit from 'dp'.
Round duration - 45 minutes
Round difficulty - Medium
Timing: evening
Environment: Virtual(remote)
Activity:
It was a resume screening + DSA round . There were 2 interviewers in this round. Initially , a brief introduction was given by them & later , they started with projects listed in my resume . They first asked me to explain about the projects , asked some questions related to its implementation & its actual use case in real world (where it can be used) .Later , they switched to DSA part , a total of 2 questions of easy medium difficulty level were asked . I only remember 1 question that was similar to Minimum platform problem.
After this , They asked me for favourite subjects. I said Operation Systems . Then , they asked for some concepts in OS , including CPU scheduling & its algos like Round robin , SJF etc and later asked which type of scheduling algorithm is used to design actual systems .
Your task is to determine the minimum number of platforms required at a railway station so that no train has to wait.
Given two arrays:
AT
- represent...Determine the minimum number of platforms needed at a railway station so that no train has to wait.
Sort the arrival and departure times arrays in ascending order.
Use two pointers to iterate through the arrays and keep track of the number of platforms needed.
Increment the number of platforms needed when a train arrives and decrement it when a train departs.
Return the maximum number of platforms needed at any point.
Examp...
Round duration - 50 minutes
Round difficulty - Medium
It was System design round.Though , it also started with a brief introduction & later , asked about projects . As my project was related to test classification . In that context , they asked me to design a low level Suggestion system(In any preferred language) .
You are provided with a list of strings, DICTIONARY[]
, representing the correct spellings of words, and a query string QUERY
that may contain misspelled words. Your task is...
Given a list of correct spellings and a query string, return a list of suggested correct spellings if the query is misspelled.
Iterate through the dictionary to check for matching prefixes with the query string.
If a match is found, add the corresponding word to the list of suggestions.
Return the list of suggestions if the query is misspelled, otherwise return an empty list.
Tip 1 : Practice a lot of problems from leetcode/coding ninjas or some other platform.
Tip 2 : Participate in daily contests on codeforces, leetcode, kickstart, etc.
Tip 3 : Include new topics while learning/solving Data structures problems like tries, BIT, etc.
Tip 1 : Mention your competitve programming skills and profiles in resume if possible.
Tip 2 : While mentioning things in resume: mention by numbers.
Tip 3 : Make a neet resume in some standard format(maybe by using LaTeX)
Tip 4 : Have atleast 2 projects(on which you are confident) in resume
Tip 5 : Don't put false positive on resume.
I applied via LinkedIn and was interviewed in Dec 2023. There was 1 interview round.
I applied via Referral and was interviewed in Sep 2023. There was 1 interview round.
Least recently used rate limiter
Rate limiter is a mechanism to control the rate of requests sent to a server
Implement a sliding window algorithm to track the number of requests within a specific time frame
Set a limit on the number of requests allowed per unit of time
Return an error response when the limit is exceeded
Test cases: 1. Send requests below the limit - should be successful. 2. Send requests above the limit - should receive an error response...
I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.
The coding test involved 3 DSA questions and I had 90 min to solve those. In terms of difficulty it would say they were simillar to Leetcode Medium
Efficient memory management for storing different pages involves data structures like page tables and algorithms for allocation.
Use page tables to map virtual addresses to physical memory locations.
Implement algorithms like Least Recently Used (LRU) for page replacement.
Consider using a linked list or hash map for quick access to pages.
Utilize memory pools to manage fixed-size memory blocks for pages.
Example: In a web ...
I applied via LinkedIn and was interviewed before Sep 2023. There were 6 interview rounds.
3rd party coding round
JS coding round. Focused on JS fundamentals and problem solving.
React coding round. Developing a UI
Medium - Hard DSA Problem they ask
Design Snake game LLD
DSA round leetcode style question
Rate limiter design using token bucket algorithm
Use token bucket algorithm to limit the rate of requests
Maintain a bucket with tokens that get refilled at a constant rate
Each request consumes a token from the bucket, rejecting requests when no tokens are available
based on 1 interview experience
Difficulty level
Duration
based on 6 reviews
Rating in categories
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