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

System Engineer Specialist

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: C++, Data Structures and Algorithm, OOPS, Python, SQL
Tip
Tip

Tip 1 : Practice multiple ways to solve a coding problem and look for the most efficient one
Tip 2 : Keep checking for, and participate in coding competitions

Application process
Where: Naukri
Eligibility: Above 60%
Resume Tip
Resume tip

Tip 1 : Mention the programming languages, projects on your resume
Tip 2 : Make a single pager Resume highlighting only professional information

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date1 Jul 2016
Coding problem1

20 MCQ problems and 1 coding problem
Classroom kind of set up where multiple candidates were appearing for the test

1. First and Last Position of an Element In Sorted Array

Easy
20m average time
80% success
0/40
Asked in companies
AmazonErnst & Young (EY)Google inc

You are given a non-decreasing array 'arr' consisting of 'n' integers and an integer 'x'. You need to find the first and last position of 'x' in the array.


Note:
1. The array follows 0-based indexing, so you need to return 0-based indices.
2. If 'x' is not present in the array, return {-1 -1}.
3. If 'x' is only present once in the array, the first and last position of its occurrence will be the same.


Example:
Input:  arr = [1, 2, 4, 4, 5],  x = 4

Output: 2 3

Explanation: The given array’s 0-based indexing is as follows:
 1      2     4     4     5
 ↓      ↓     ↓     ↓     ↓
 0      1     2     3     4

So, the first occurrence of 4 is at index 2, and the last occurrence of 4 is at index 3.
Problem approach

First i sorted the array
Then i searched the first and last position

Try solving now
02
Round
Easy
Face to Face
Duration20 Minutes
Interview date2 Jul 2016
Coding problem1

One by one each of the shortlisted candidates were called out for interview round. The interviewer was calm and composed and was not probing much.

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
AmazonIntuitOracle

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

i solved this using recursion

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

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

Choose another skill to practice
Similar interview experiences
Software Engineer
1 rounds | 4 problems
Interviewed by Tech Mahindra Pvt. Ltd
1910 views
1 comments
0 upvotes
SDE - Intern
2 rounds | 4 problems
Interviewed by Tech Mahindra Pvt. Ltd
1319 views
0 comments
0 upvotes
Software Engineer
2 rounds | 4 problems
Interviewed by Tech Mahindra Pvt. Ltd
0 views
0 comments
0 upvotes
Product Development Engineer
2 rounds | 5 problems
Interviewed by Tech Mahindra Pvt. Ltd
773 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
System Engineer Specialist
4 rounds | 7 problems
Interviewed by Oracle
0 views
0 comments
0 upvotes
company logo
System Engineer Specialist
3 rounds | 5 problems
Interviewed by HCL Technologies
1264 views
0 comments
0 upvotes
company logo
System Engineer Specialist
3 rounds | 3 problems
Interviewed by Amazon
999 views
0 comments
0 upvotes