Mahindra Logistics interview experience Real time questions & tips from candidates to crack your interview

Fullstack Developer

Mahindra Logistics
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: DSA, JS Interview Questions, SQL, Front End Basics, OOPS Concepts, Algorithms
Tip
Tip

Tip 1 : Be prepared about your previous role.
Tip 2 : Go through your projects a day before the interview.

Application process
Where: Referral
Eligibility: 1 Years of experience.
Resume Tip
Resume tip

Tip 1 : Your projects and tech stack should be relevant to what they are working on.
Tip 2 : Your resume should be unique and format should be attractive.

Interview rounds

01
Round
Easy
Telephonic
Duration25 Minutes
Interview date16 May 2022
Coding problem1

All basic problems of programming and DSA.

1. Spiral Matrix

Easy
15m average time
80% success
0/40
Asked in companies
WalmartOracleApple

You are given a 2-D array 'MATRIX' of dimensions N x M, of integers. You need to return the spiral path of the matrix.

Example Of Spiral Path:

Spiral path of a matrix

Problem approach

This was an easy problem and the interviewer just asked my approach, and he was happy.
1) There are four directions in which we have to traverse - 
Left to Right → Top to Bottom → Right to Left → Bottom to Top
(By this observation, we decided to use four for loops for each of the direction)

2) With each traversal on either of the four directions, one row/column is traversed.
(By this observation, we came to a conclusion that we need to track the count of row/column visited
for all the four directions)

3) And we need to keep doing the above steps until a boundary condition is met. So, for that we can count 
the number of elements in the matrix and when element count becomes (m x n), we can break from the loop.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date17 May 2022
Coding problem1

All medium level question of SQL, DSA, JS, OOPS.

1. Remove Duplicates From Sorted List

Easy
0/40
Asked in companies
QualcommChegg Inc.Apple

A doubly-linked list is a data structure that consists of sequentially linked nodes, and the nodes have reference to both the previous and the next nodes in the sequence of nodes.


You are given a sorted doubly linked list of size 'n'.


Remove all the duplicate nodes present in the linked list.


Example :
Input: Linked List: 1 <-> 2 <-> 2 <-> 2 <-> 3

Output: Modified Linked List: 1 <-> 2 <-> 3

Explanation: We will delete the duplicate values ‘2’ present in the linked list.


Problem approach

We have to traverse the linkedlist and have to ignore the duplicates by changing the link
by accessing the prev and ptr->next pointer which are neighbours of duplicate elements ,those pointers will help to remove the duplicate.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Fullstack Developer
6 rounds | 5 problems
Interviewed by Microsoft
2222 views
0 comments
0 upvotes
company logo
Fullstack Developer
2 rounds | 2 problems
Interviewed by Samsung
2163 views
0 comments
0 upvotes
company logo
Fullstack Developer
2 rounds | 2 problems
Interviewed by Amdocs
1813 views
0 comments
0 upvotes