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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: C++,DSA,SQl,Puzzles,NoSQL,DataBases,Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Reseach past experience well
Tip 2 : Never be nervous 
Tip 3 : Apply only when you are prepared with SQL and DSA

Application process
Where: Company Website
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Write your internship and project well
Tip 2 : be prepared with all the things you have written, even with the finer details.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date6 Aug 2020
Coding problem1

MCQ and 1 coding question,Computer Science Fundamentals with Aptitude. and coding question was based on DP.

1. Longest Common Subsequence

Moderate
39m average time
0/80
Asked in companies
PayPalSliceShareChat

Given two strings, 'S' and 'T' with lengths 'M' and 'N', find the length of the 'Longest Common Subsequence'.

For a string 'str'(per se) of length K, the subsequences are the strings containing characters in the same relative order as they are present in 'str,' but not necessarily contiguous. Subsequences contain all the strings of length varying from 0 to K.

Example :
Subsequences of string "abc" are:  ""(empty string), a, b, c, ab, bc, ac, abc.
Problem approach

1. Draw a 2D matrix.
2.Plot the subsequce and genereted pattern will get you answer for for loop.

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date21 Aug 2020
Coding problem1

It was a video call on teams during the day and the 2 interviewers were very helpful.

1. Best Time to Buy and Sell Stock

Moderate
20m average time
80% success
0/80
Asked in companies
IntuitOptumOYO

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Problem approach

1. Create a array,and two temp variable'
2. Travesese the array from left to right and find the local maximum from left to right and store in array at the index.
3. Traverse the array and find the maximum to index.

Try solving now
03
Round
Easy
HR Round
Duration60 Minutes
Interview date10 Sep 2020
Coding problem1

On a phone call, Basic introduction, extra curricular Activities, location preference and salary discussion.

1. Basic HR questions

Basic Introduction and previous experiences and journey till date

Problem approach

Tip 1 : Be honest
Tip 2 : Be confident
 

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
SDE - 1
2 rounds | 2 problems
Interviewed by Tech Mahindra Pvt. Ltd
1673 views
0 comments
0 upvotes
SDE - 1
2 rounds | 6 problems
Interviewed by Tech Mahindra Pvt. Ltd
0 views
0 comments
0 upvotes
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Tech Mahindra Pvt. Ltd
2226 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Tech Mahindra Pvt. Ltd
1117 views
2 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes