Mindtree is an Indian information technology company headquartered in Bangalore, India and a corporate office in New Jersey, USA. Founded in 1999, the company employs over 12,900+ employees with annual revenue of USD 500+ million. The company serves over 207 clients worldwide. It has around 40+ Fortune 500 companies as its clients. Mindtree is a CMMI level 5(Development) company. It is certified with ISO 14000, ISO 20000 and ISO 27000 to deliver predictably with high quality.
The Selection Process and Test Pattern is as follows:
The selection process of the company consists of 4 rounds. These rounds are as follows:
Pattern of Written Exam:
Section Number of Questions Time (in minutes)
Quantitative Ability 25 35 mins
English 25 25 mins
Logical Ability 24 35 mins
Coding 02 45 mins
Total 76 140 mins
Coding: Students has to code in any programming language and should execute their code through online compiler.
The following are the model problems which are helpful to crack this section.
1. Print prime numbers upto n each separated by a comma except the last one.
Ex1: Input 7. Ex2: Input 15.
Output: 1,2,3,5,7 Output: 1,2,3,5,7,11,13
2. GCD of array of numbers
#include<stdio.h>
#include<stdlib.h>
int main()
{
int n,g,*a,i;
scanf("%d",&n);
a=(int *)malloc(n*sizeof(int));
for(i=0;i<n;i++)
scanf("%d",(a+i));
g=*a;
for(i=1;i<n;i++)
g=gcd(g,*(a+i));
printf("%d",g);
return 0;
}
int gcd(int x,int y)
{
if(y==0)
return x;
else
gcd(y,x%y);
}
3. Eliminate repeated letters in Array.
#include<stdio.h>
#include<string.h>
int main()
{
char a[100],b[100];
int i,j,k=0,count=0;
printf("Enter the string\n");
gets(a);
for(i=0;i<strlen(a);i++)
{
for(j=0;j<i;j++)
{
if(a[i]==b[j])
count=1;
}
if(count==0)
b[k++]=a[i];
count=0;
}
b[k]=NULL;
for(j=0;j<strlen(b);j++)
printf("%c",b[j]);
return 0;
}
4.
4. Determine a string is palindrome or not
#include<stdio.h>
void stringpalindrome(char *);
int main()
{
char str[20];
int i, len=0,flag=0;
printf("Enter a string:");
scanf("%s",str);
stringplaindrome(str);
return 0;
}
void stringpalindrome(char *s)
{
for(i=0;s[i]!='\0';i++)
len++;
for(i=0;i<len;i++)
{
if(s[i] != s[len-i-1])
{
flag = 1;
break;
}
}
if (flag)
printf("%s is not a palindrome", *str);
else
printf("%s is a palindrome", *str);
return;
}
5. Transpose of Product of two matrices.
6.Program to print the following pattern
1
2*2
3*3*3
4*4*4*4
4*4*4*4
3*3*3
2*2
1
7. Program to print the following Square pattern
1*2*3*4
9*10*11*12
13*14*15*16
5*6*7*8
8. Program to the numbers in trapezium pattern
If N=4 the code should print the following pattern.
1*2*3*4*17*18*19*20
--5*6*7*14*15*16
----8*9*12*13
------10*11
Again if N=5 the code should print
1*2*3*4*5*26*27*28*29*30
--6*7*8*9*22*23*24*25
----10*11*12*19*20*21
------13*14*17*18
--------15*16
9. Program to count the number occurrences of a digit in an array of numbers.