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

Fullstack Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Strings, Arrays, Sorting algorithms, Linked List, Loops, Sliding windows, Graphs, Trees, OOPS, DSA, DBMS
Tip
Tip

Tip 1 : Do atleast 2 projects
Tip 2 : Complete competitive programming
Tip 3 : Practice more interview Questions particular to the company applying to

Application process
Where: Other
Eligibility: Resume shortlisting
Resume Tip
Resume tip

Tip 1 : Don't lie on resume
Tip 2 : Try to wrap resume in one page

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 Minutes
Interview date22 Jul 2021
Coding problem0

It had MCQs for predicting outputs, aptitude, verbal, Completing the code. It had both frontend and backend related questions.
1 day was given in which you could start at any time.

02
Round
Medium
Online Coding Interview
Duration180 Minutes
Interview date24 Jul 2021
Coding problem2

How can you traverse the DOM with JavaScript?

What is the box model?

What are NoSQL databases? What are the different types of NoSQL databases?

Also there was 2 coding questions. 

1. Maximum difference

Easy
15m average time
85% success
0/40
Asked in companies
GoogleOlaTech Mahindra

You are given an array 'ARR' of the 'N' element. Your task is to find the maximum difference between any of the two elements from 'ARR'.

If the maximum difference is even print “EVEN” without quotes. If the maximum difference is odd print “ODD” without quotes.

For example:

Given 'ARR' = [1, 10, 5, 2, 8, 1 ] , answer is "ODD".
Here the maximum difference is between 10 and 1, 10 - 1 = 9
Try solving now

2. Distinct Strings With Odd and Even Swapping Allowed

Moderate
15m average time
85% success
0/80
Asked in companies
MicrosoftInfosysTech Mahindra

You are given an array of strings. Your task is to find the number of unique strings.

A string is considered unique if it cannot be formed from any other string, present in the array, even after applying the following operations any number of times and in any order:

1. Swapping two characters present at odd indices.

2. Swapping two characters present at even indices.

Note:
Strings contain only lowercase English alphabets.
Example:
Let the array of strings be [“abcd”, “cbad”, “bdac”, “adcb”]. From the given array, strings “abcd”, “cbad”, and “adcb” can be transformed into one another by applying the given operations. But “bdac” cannot be transformed into any other string. Hence, there are only 2 unique strings in the array.
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 3 + 2 * 4 based on operator precedence?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by Tech Mahindra
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Tech Mahindra
968 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Tech Mahindra
2058 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Tech Mahindra
1280 views
1 comments
0 upvotes
Companies with similar interview experiences
Fullstack Developer
3 rounds | 4 problems
Interviewed by Virtusa
1188 views
0 comments
0 upvotes
company logo
Fullstack Developer
3 rounds | 5 problems
Interviewed by HashedIn
802 views
0 comments
0 upvotes
company logo
Fullstack Developer
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
638 views
0 comments
0 upvotes