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.
Sample Answer:
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
- Recursively Traverse the left subtree
- Visit the Root.
- 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
- Visit the Root
- Recursively Traverse the left subtree
- 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
- Recursively Traverse the left subtree
- Recursively Traverse the right subtree.
- Visit the Root.
Q4.Write pseudo code for fibonacci series.
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++:
- Public
- Private
- Protected
Q6. Write the difference between method overriding and method overloading?
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.
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.
HR ROUND
Q1. Are you ready to relocate.
Sample answers:
Q2. Where do you see yourself in 5 years?
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.
Comments
Post a Comment