MindTree Interview Experience 2021 | Tr And Hr Round Question | Experience 2

 


Company -  MINDTREE 

Date          -  28 MARCH 2021 

Branch     -   IT

Duration  -  35-40 MINS


Technical Round


Q1. Introduce yourself.

The first question in most of the interviews is usually to introduce yourself.Prepare a crisp answer about the things you have done,technologies you work on,internships and projects you have done.talk about anything you are confident about.this answer will decide the further questions of the interviewer and will give a direction to your interview.so,don't forget to mention about your most confident skills and anything you want to discuss and talk about.

Sample Answer:

hello , My name is XYZ from ABC college IT branch.In my 4 years at college I have worked to explore both technical and non technical part in me.I have worked with PQR firm where i have worked on android development. My major work was to work on the UI part of the application. Along with that I have participated in various hackathons and coding challenges. I have worked on few personal projects in my college like...(mention 1-2 in short).

Tips: talk about your confident part in a very humble way.Introduction part can take up  around 2-3 mins. 


Q2. What is a binary search tree?

Binary Search Tree is a node-based binary tree data structure which has the following properties:

  • The left subtree of a node contains only nodes with keys lesser than the node’s key.
  • The right subtree of a node contains only nodes with keys greater than the node’s key.
  • The left and right subtree each must also be a binary search tree.


Q3. Explain preorder , postorder and inorder traversals.

Inorder Traversal

  • In Inorder traversal we traverse from left-root-right.
  • In this traversal left subtree visited first then the root and later the right subtree.
  • remember that every node may represent a subtree itself.

Algorithm of inorder traversal 

Until all nodes are traversed

  1. Recursively Traverse the left subtree
  2. Visit the Root.
  3. Recursively Traverse the right subtree.

Preorder Traversal

  • In Preorder traversal we traverse from root-left-right.
  • In this traversal root visited first then the left subtree and later the right subtree.
  • remember that every node may represent a subtree itself.

Algorithm of preorder traversal

Until all nodes are traversed

  1. Visit the Root
  2. Recursively Traverse the left subtree
  3. Recursively Traverse the right subtree

Postorder Traversal

  • In Preorder traversal we traverse from left-right-root.
  • In this traversal left subtree visited first then the right subtree and later the root.
  • remember that every node may represent a subtree itself.

Algorithm of postorder traversal

Until all nodes are traversed

  1. Recursively Traverse the left subtree
  2. Recursively Traverse the right subtree.
  3. Visit the Root.

Q4.Write pseudo code for fibonacci series.

The Fibonacci numbers are the numbers in the following integer sequence.
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……..

1
2
3
4
5
6
7
8
9
int a=0;
    int b=1;
    for(int i=2;i<n;i++){
        int c=a+b;
        a=b;
        b=c;

    }
    cout<<c;


Q5. Explain different access modifiers in class.

There are 3 types of access modifiers available in C++: 

  1. Public
  2. Private
  3. Protected
1. Public: All the class members declared under the public specifier will be available to everyone. The data members and member functions declared as public can be accessed by other classes and functions too. The public members of a class can be accessed from anywhere in the program using the direct member access operator (.) with the object of that class. 

 2. Private: The class members declared as private can be accessed only by the member functions inside the class. They are not allowed to be accessed directly by any object or function outside the class. Only the member functions or the friend functions are allowed to access the private data members of a class. 

3. Protected: Protected access modifier is similar to private access modifier in the sense that it can’t be accessed outside of it’s class unless with the help of friend class, the difference is that the class members declared as Protected can be accessed by any subclass(derived class) of that class as well. 

Q6. Write the difference between method overriding and method overloading?

METHOD OVERLOADING 

METHOD OVERRIDING

Method overloading is used to increase the readability of the program.

Method overriding is used to provide the specific implementation of the method that is already provided by its super class.

Method overloading is performed within class.

Method overriding occurs in two classes that have IS-A (inheritance) relationship.

In case of method overloading, parameter must be different.

In case of method overriding, parameter must be same.


Q7. Explain SQL Constraints.

  • NOT NULL- Ensures that a column cannot have a NULL value
  • UNIQUE - Ensures that all values in a column are different
  • PRIMARY KEY - A combination of a NOT NULL and UNIQUE . Uniquely identifies each row in a table
  • FOREIGN KEY - Prevents actions that would destroy links between tables
  • CHECK -  Ensures that the values in a column satisfies a specific condition
  • DEFAULT - Sets a default value for a column if no value is specified
  • CREATE INDEX-  Used to create and retrieve data from the database very quickly

Q8.  Explain about your project.

Follow STAR approach in answering the questions. 
Situation
Task
Approach
Result

1.Project Introduction
Give an introduction of your project, what problem you tried to solve with your project.

2.Modules Description:
Divide your project in various modules and describe modules to the interviewer.

3.Advantages and main functionality of your project
describe your main functionality of the project and main problem you want to solve.

4.Tools,Technologies and platform used
This is also a very important aspect when explaining a project. Tools, Technologies, and platforms used will help the interviewer understand better about the working of the project. As well as it will create an impact on how new is your project. Try to explain it very short and be to the point.

5.Personal Contribution in the project
Interviewer is interested to know what have you done in the project and what part you have worked on.

Q9. Explain about your research paper.

1.Mention about your project
2.The journal or the conference where you published your paper
3.How you wrote the paper
4.Major results
5.Challenges faced

HR ROUND

Q1. Are you ready to relocate.

Sample answers:

1.If YES

Yes sir, definitely I am willing to relocate anywhere. As my personal hobby is I love to travel. That is a good opportunity for me to enhance my skills and knowledge.

Yes. As a fresher, I am willing to relocate anywhere. I love travelling & I love to meet new people at different places. This will also overcome my shyness.

I would like to relocate for my company and my job. It's a great opportunity to work with different people and the environment. Am sure it will boost my knowledge too. I would definitely consider about it. If the opportunity given to me is appropriate, rewarding and feasible, I don't think I will have any issues with it. And, I think that relocate teaches how to adjust or co-operate with new people.

2. If NO

But if you have some problem with reallocation you can clearly mention it to the HR without hesitation. 


Q2. Where do you see yourself in 5 years?


This is one of the questions you will see in many interviews. With this the interviewer wants to know what are your professional goals in next 5 years, what are your goals and aspirations and will the company be able to offer what you are looking for. So, get clear about your career goals so that you sound confident when you answer this question to the interviewer.

Sample answer:

A few of the goals I’ve set for myself over the next few years include becoming a senior  software developer and would work on major projects and gain knowledge in the same. I’m excited about the opportunities this job would provide me, as I believe they will support my long-term career goals and allow me to grow.


Q3. What are your strengths?

During the interview process, it’s likely that the hiring manager will ask you to describe your strengths at some point. Many candidates probably wonder how to answer what are your strengths without bragging too much or risk appearing narcissistic.You want to craft your answer with a high degree of self-awareness and professionalism. 

It’s important to be prepared for this question and have a statement ready. Even if you aren’t asked this question, you will be aware of your strengths and what you can bring to the position.

This will help you articulately weave those strengths into other areas of the interview

SAMPLE ANSWER

I’ve always preferred to work in groups and find that my collaborative nature is one of my strongest attributes. On projects that I directed, I work well to inspire diverse team members and work side by side with them to achieve the project goals.



These are some questions asked in the interview.
you can refer to these on our youtube channel as well.



 HAPPY LEARNING
ALL THE BEST
                          

  

Comments

Popular posts from this blog

Capgemini Analyst Interview Experience | Experience 2

Capgemini Pseudocode Question Asked on 19th december 2021 | slot 2

Capgemini Pseudocodes MCQs Part 2