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

SDE - Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, System Design, Algorithms, Database Management System.
Tip
Tip

Tip 1 : Practice 300 DSA questions at least
Tip 2 : Do 3 Projects

Application process
Where: Campus
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1 : Keep it simple and clean
Tip 2 : Try to mentions internships and projects

Interview rounds

01
Round
Medium
Online Coding Interview
Duration65 minutes
Interview date8 Aug 2021
Coding problem2

It was a very good round where i performed well enough to qualify.

1. Kth Smallest and Largest Element of Array

Easy
15m average time
70% success
0/40
Asked in companies
HSBCSalesforceTech Mahindra

You are given an array ‘Arr’ consisting of ‘N’ distinct integers and a positive integer ‘K’. Find out Kth smallest and Kth largest element of the array. It is guaranteed that K is not greater than the size of the array.

Example:

Let ‘N’ = 4,  ‘Arr’ be [1, 2, 5, 4] and ‘K’ = 3.  
then the elements of this array in ascending order is [1, 2, 4, 5].  Clearly, the 3rd smallest and largest element of this array is 4 and 2 respectively.
Try solving now

2. Sum of even & odd

Easy
0/40
Asked in companies
Tech MahindraAccentureErnst & Young (EY)

Write a program to input an integer 'n' and print the sum of all its even digits and the sum of all its odd digits separately.


Digits mean numbers, not places! That is, if the given integer is "132456", even digits are 2, 4, and 6, and odd digits are 1, 3, and 5.

Constraints
0<= 'n' <=10000


Example :
Input: 'n' = 132456

Output: 12 9

Explanation:
The sum of even digits = 2 + 4 + 6 = 12
The sum of odd digits = 1 + 3 + 5 = 9
Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date21 Nov 2021
Coding problem2

The questions that have been asked in this are quite related to academics. Starting with the question, introduce yourself, the interviewer asked the questions on the project I did in my last year.

1. Operating System Question

Can you explain the difference between file structure and storage structure?

Problem approach

Tip 1 : Read operating system notes
 

2. DBMS Question

State some of the advantages, disadvantages, good and bad applications of a Database Management System.

Problem approach

Tip 1 : Read DBMS notes

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 - Intern
1 rounds | 2 problems
Interviewed by Tech Mahindra
836 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Tech Mahindra
0 views
1 comments
0 upvotes
company logo
Software Developer
3 rounds | 18 problems
Interviewed by Tech Mahindra
845 views
0 comments
0 upvotes
company logo
Graduate Engineer Trainee
4 rounds | 22 problems
Interviewed by Tech Mahindra
491 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3286 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2238 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2023 views
0 comments
0 upvotes