Tech Mahindra Pvt. Ltd interview experience Real time questions & tips from candidates to crack your interview

Senior Software Engineer

Tech Mahindra Pvt. Ltd
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Android, Kotlin , Java, Data Structure, Design Patterns
Tip
Tip

Tip 1 : Keep Learning new Technology
Tip 2 : Focus on Problem solving 
Tip 3 : Do Projects for Learning

Application process
Where: Naukri
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Mentions all technology which you have used, even you work less
Tip 2 : Keep you resume neat and Clean, mention all project with technologies you have worked on during developed that project.

Interview rounds

01
Round
Medium
Telephonic
Duration60 Minutes
Interview date1 Nov 2021
Coding problem1

1. Sort an array in wave form

Easy
10m average time
85% success
0/40
Asked in companies
AmazonSAP LabsExpedia Group

You have been given an unsorted array ‘ARR’.

Your task is to sort the array in such a way that the array looks like a wave array.

Example:
If the given sequence ‘ARR’ has ‘N’ elements then the sorted wave array looks like - 
‘ARR[0] >= ARR[1]’ and ‘ARR[1] <= ARR[2]’
‘ARR[2] >= ARR[3]’ and ‘ARR[3] <= ARR[4]’
‘ARR[4] >= ARR[5]’ and ‘ARR[5] <= ARR[6]’  And so on.
Note:
1. ‘ARR[0]’ must be greater than or equal to ‘ARR[1]’.

2. There can be multiple arrays that look like a wave array but you have to return only one.

3. We have an internal function that will check your solution and return 'True' in case your array is one of the solutions otherwise return 'False'.

Explanation

The given array ‘ ARR = { 4, 3, 5, 2, 3, 1, 2 } ’
The below figure is a visual representation of the given ‘ARR’ and you can see we can express ‘ARR’ in a waveform array because 
4>3 and 3<5 
5>2 and 2<3
3>1 and 1<2
And it follows the condition of wave array.

subsequence

Follow up:
Try to solve this problem in linear time complexity.
Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date2 Nov 2021
Coding problem1

1. Technical Questions

What is Scope Function,
OOPS
Mutlti-Threading

03
Round
Easy
Face to Face
Duration60 Minutes
Interview date3 Nov 2021
Coding problem1

1. Technical Questions

OOPs
Kotlin Co-Routine
Android Framework
Jetpack

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Tech Mahindra Pvt. Ltd
0 views
0 comments
0 upvotes
Senior Software Engineer
2 rounds | 3 problems
Interviewed by Tech Mahindra Pvt. Ltd
7421 views
1 comments
0 upvotes
Software Engineer
2 rounds | 2 problems
Interviewed by Tech Mahindra Pvt. Ltd
0 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Tech Mahindra Pvt. Ltd
1413 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3920 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
5173 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3155 views
3 comments
0 upvotes