Mindtree private limited interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Mindtree private limited
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 0.5 Months
Topics: Array applications, String manipulation, Loops, Pointer, Fundamentals of DSA and their approach. OOPS concept. SQL, DBMS and also the technologies I used in final year project.
Tip
Tip

Tip 1 : Practice fundamental coding problems ( like Array, String, Pointer etc).
Tip 2 : Practice fundamental of DSA ( basic hands on approach).
Tip 3 : Must have depth knowledge about your project.

Application process
Where: Other
Eligibility: Above 6.5 CGPA with no backlogs, No gaps in education etc.
Resume Tip
Resume tip

Tip 1 : Have a good project on resume.
Tip 2 : Only put those skills on resume in which you are confident.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date25 May 2021
Coding problem3

First online assessment round consisted of MCQ and Coding questions.
There were 30-40 Aptitude questions(Verbal, Quantitive and Logical reasoning) and there were 3 sections (each section has 2 qouestions) in coding ( Basic, DSA, Advanced DSA). In the coding part we had to attend one question from each section from total 6 questions.

1. Pizza Sharing

Moderate
0/80
Asked in companies
SamsungMicrosoft

Ninja and his two friends went to a picnic and enjoy their pizza. But they found that the slices of pizza are not uniform. Ninja is very hungry so he wants to take the bigger slices of pizza. So all friends decided to follow the rule while eating pizza:

1 . Ninja will pick a slice of pizza.
2 . One of his friends will pick the next slice in the anti-clockwise direction.
3 . the Second friend will pick the next slice in the clockwise direction of Ninja’s pick.

You are given an array ‘ARR’ having the weights of ‘N’ slices representing a circular array in the clockwise direction.N is a multiple of 3. Ninja wants to collect the slices such that their sum is maximum. Can you help Ninja to solve this problem and tell him the maximum sum he can achieve?

For Example
If the ARR is [4,3,11,12,2,4] , so the optimal answer will be as follows:
Ninja will pick the slice having weight 12, so his friends will pick the slices having weights 11 and 2. After that Ninja will pick the slice with weight 4 and his friends will pick 4 and 3.
Ninja’s sum will be 16 which is the maximum.
Try solving now

2. Covid Vaccination

Moderate
0/80
Asked in companies
BNY MellonOracleAmerican Express

We are suffering from the Second wave of Covid-19. The Government is trying to increase its vaccination drives. Ninja wants to help the Government to plan an effective method to help increase vaccination following safety measures. Time is running out. Can you help the nation?

You are given two positive integers: ‘n,’ ‘maxVaccines’ denoting the number of days for which this vaccination drive will go on and the total number of vaccines available for the drive, respectively. You have to find the number of vaccines administered each day. You are also given a number ‘dayNumber,’ and we are interested to know the maximum number of vaccines that can be administered on ‘dayNumber’ th day.

The rules of the vaccination drive :

1. There should be a positive number of vaccines administered each day during the vaccination drive.

2. The absolute difference between the number of vaccines in two consecutive days should not exceed 1.

3. The sum of all the elements of the vaccines array does not exceed maxVaccines, that is, you cannot administer more vaccines than what is provided to you.

4. Vaccines administered on ‘dayNumber’ th day should be maximized.

Try solving now

3. Reverse string Word Wise

Moderate
0/80
Asked in companies
Info Edge India (Naukri.com)CIS - Cyber InfrastructureAmazon

Reverse the given string word-wise. The last word in the given string should come at 1st place, the last-second word at 2nd place, and so on. Individual words should remain as it is.

Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date3 Jun 2021
Coding problem3

It was a coding round where I was asked 3 coding questions from Array, String and Pointer.
Then interviewer asked me some basic DSA questions like Searching, Sorting algorithms and their hands on approach.
And also he asked some concepts on OOPS.

1. Search In The Array

Easy
15m average time
85% success
0/40
Asked in companies
Goldman SachsHCL TechnologiesOYO

You are given two arrays ‘arr’ of size ‘n’ and ‘queries’ of size ‘q’. For each element ‘q’ in the array 'queries', your task is to find the sum of all elements in the array ‘arr’ which are less than or equal to ‘q’.

For example: given array ‘arr = { 1, 2, 3, 3, 4, 5, 6, 7, 9, 10}’ and ‘ queries= { 3, 5}’
Then the sum of all elements whose value is less than or equal to
‘queries[0] = 3’ is ‘ 1+2+3+3 =9’.
‘queries[1] = 5’ is ‘1+2+3+3+4+5 =18’.

You have to return the answer of every query { 9, 18}.

Try solving now

2. Strings of Numbers

Hard
45m average time
55% success
0/120
Asked in companies
AppleFacebookUber

You have been given two integers ‘N’ and ‘K’. Consider a set ‘X’ of all possible strings of ‘N’ number of digits such that all strings contain digits only in range 0 to ‘K’ inclusive.

For example, If ‘N’ is 2 and ‘K’ is ‘2’ then the set ‘X’ will be-

‘X’ = { 00, 01, 02, 10, 11, 12, 20, 21, 22 }.

Your task is to find a string of minimum possible length such that it contains all strings from set ‘X as any of its substring.

Note:

If there are more than one possible such strings, then you can output any of them.
Try solving now

3. Day of the Week

Easy
10m average time
90% success
0/40
Asked in companies
AdobeInfo Edge India (Naukri.com)Microsoft

Write a function that calculates the corresponding day of the week for any particular date in the past or future.

For example, for the date 28th August 2020 happens to be Friday. Hence the expected output will be Friday.

Problem approach

int month[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; 
char week[7][10] ;
int date, mon, year, i, r, s = 0 ; 

strcpy(week[0], "Sunday") ; 
strcpy(week[1], "Monday") ; 
strcpy(week[2], "Tuesday") ; 
strcpy(week[3], "Wednesday") ; 
strcpy(week[4], "Thursday") ; 
strcpy(week[5], "Friday") ; 
strcpy(week[6], "Saturday") ; 
printf("Enter a valid date (dd/mm/yyyy) : ") ; 
scanf("%d / %d / %d", &date, &mon, &year) ; 
if( (year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0)) ) 
month[1] = 29 ; 
for(i = 0 ; i < mon - 1 ; i++) 
s = s + month[i] ; 
s = s + (date + year + (year / 4) - 2) ; 
s = s % 7 ; 
printf("\nThe day is : %s", week[s])

Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date5 Jun 2021
Coding problem1

It was a HR round. Basic questions were asked.

1. Basic HR Questions

1. Why do you want to join?
2. have any relocation problem or not?
3. What IT though you are from non-cs ? 
etc.

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 recursion?

Choose another skill to practice
Similar interview experiences
Software Engineer
3 rounds | 6 problems
Interviewed by Mindtree private limited
1465 views
0 comments
0 upvotes
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree private limited
839 views
0 comments
0 upvotes
Software Engineer
3 rounds | 3 problems
Interviewed by Mindtree private limited
1174 views
0 comments
0 upvotes
Software Engineer
4 rounds | 2 problems
Interviewed by Mindtree private limited
1545 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes