Tip 1 : Make sure you have a solid understanding of common data structures like arrays, linked lists, stacks, queues, trees, and graphs.
Tip 2 : Study key algorithms such as sorting, searching, and graph traversal algorithms.
Tip 3 : Regularly solve coding problems and make sure to give time yourself.
Tip 1 : Customize your resume for each job application by highlighting relevant skills, experiences, and accomplishments that align with the specific job requirements.
Tip 2 : Ensure that your resume is concise and easy to read.
It was a monitored round, with access to a webcam and microphone. It happened in the afternoon, and we were required to solve 45 questions. For the coding questions, both questions had to be answered in 2 different languages.



A = [2, 3, 0] , B = [5, 1]
For the first index, A[0] = 2
In array B only 1 is less than 2. Therefore the answer for the first index is 1.
For the second index, A[1] = 3
In array B only 1 is less than 3. Therefore the answer for the second index is also 1.
For the third index, A[2] = 0
Both the elements of array B are greater than 0.
Therefore the answer for the third index is 0.
Hence, the final answer is [1,1,0] in this case.
Traverse through the elements of the first array from start to end.
For every element in the first array.
Traverse through the elements in the second array and find the count of elements that are less than or equal to the element of the first array.
Print the count for every index.



As depicted in the photo below, the knight currently at (0, 0) can move to any of the 8 positions: (1, 2), (2, 1), (2, -1), (1, -2), (-1, -2), (-2, -1), (-2, 1), (-1, 2).

If X = 1 and Y = -1, then we need to find out the minimum number of steps to move the knight from (0, 0) to (1, -1).
We need at least 2 steps to move the knight to the desired position.
First move: (0, 0) -> (2, 1)
Second move: (2,1) -> (1, -1)
Here we can see that there are many ways, but we need at least 2 steps. Therefore we will return the value 2.
I used BFS to solve this problem.
This was the first round of the day. There was one GD moderator and 6 participants discussed upon the EDG at Mathworks.
Discuss about EDG at Mathworks.
I started the discussion by giving it a strong beginning. I made sure I listen and acknowledge every candidate's points. I took a positive approach and made a good balance of not speaking too much or too less.
After qualifying the GD, we moved to technical interview. This started with introduction and then directly to the coding question.



n = 4, list: 1 -> 0 -> 1 -> 0.
Now in this example, the value in the linked list is 1010, which is 10 in Decimal.
Hence the answer is 10.
Initialize result number to be equal to head value: num = head.val.
This operation is safe because the list is guaranteed to be non-empty.
Parse linked list starting from the head: while head.next:
The current value is head.next.val. Update the result by shifting
it by one to the left and adding the current value using logical OR:
num = (num << 1) | head.next.val.
Return num.
This was an OOPS problem. A car class was given, we had to inherit other classes and make other car objects. (Learn)
Tip 1 : Study well about the 4 pillars of OOPS.
Tip 2 : Study pointers well too.
Tip 3 : Make sure to not only study the theory but also know how to apply those principles in coding.
This was a managerial round.
Explain your projects in deep.
Why did you use this particular tech stack?
What challenges did you face while implementation?
This round focused more on how much I knew about the company. The HR also focused on knowing more about me, and how I perform in different situations.
Introduce yourself.
Some situation-based questions.
How will you perform in different situations, suppose sometimes the situation is supporting your decision and sometimes it isn't?
Why mathworks?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?