Related Articles

# MTX Interview Experience for Trainee Consultant | On-Campus 2021

• Difficulty Level : Easy
• Last Updated : 05 Mar, 2021

Round 1 Online Test (Hackerearth platform):

• Programming questions: 3(Data structures and algorithms)
• Multiple Choice Questions: 67(Aptitude, programming, HTML, CSS, JavaScript, OOPs, Java, SQL)
• Test duration: 2 hrs

Round 2 (Technical Interview Round 1): This round started with a project discussion. The interviewer asked questions on each skill that I have mentioned in my resume. This round mainly focuses on Data Structures and Object-Oriented Programming. Some questions related to HTML, CSS, and SQL were also asked.

1. What is sorting? Tell some algorithm of sorting with their time complexities? Implement any sorting algorithm in the language of your choice (I implemented quick sort in C++)? When will you prefer quick sort over merge sort?
2. Write SQL command for finding all the student name that ends with ‘a’ in student_name column?
3. What is the difference between truncate, drop, and delete?
4. Write a program to find factorial of a number
5. Swap two numbers without taking a third variable, can we swap numbers using bitwise operation, if yes them implement?
6. What is the difference between class and id in HTML?

Questions were easy, I managed to solve all the question, few other theory questions were asked on SQL, DBMS, and OOPs

Round 3 (Technical Interview Round 2): This round was completely DSA based, I was provided with an Online IDE and have to compile the code.

1. Print this pattern.

```ABCDEF
ABCDE
ABCD
ABC
AB
A
AB
ABC
ABCD
ABCDE
ABCDEF```
2. Write a program to find out duplicate characters in a String.
3. Given a number find the square root of it in O(log n).
4. Find an element that is present in the first array and not in the second.
5. Check if the given list is a circular Linked List without using extra space.
6. Given the root node of a tree, find the height of that tree.

Round 4 (HR Round): This round was basic, and they were just checking your confidence level.