i
Tech Mahindra
Filter interviews by
I applied via Campus Placement and was interviewed in Sep 2023. There were 3 interview rounds.
The first round was the aptitude round and there were very basic mathematics question were asked to me and I was able to answer them comfortable.some of the major topic they asked were time constant , variable separation,train problem,counting tarin track etc
In this round there were a coding contest was conducted.basically here there was given four coding questions in a time interval of 2 hour .the difficulty level of the question was easy to moderate .the question was from array ,tree,linked list and one is from graphs.
posted on 13 Sep 2024
I applied via Naukri.com and was interviewed in Oct 2022. There were 2 interview rounds.
1 hr test with mcq and coding snippet
Pointers are variables that store memory addresses of other variables in C programming language.
Pointers are used to manipulate data structures like arrays, linked lists, and trees.
They can be used to pass values by reference to functions.
Pointers can also be used to allocate memory dynamically using functions like malloc() and calloc().
A linked list program is a data structure that stores a sequence of elements with pointers to the next element.
Create a Node class with a value and a next pointer
Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes
Example: LinkedList ll = new LinkedList(); ll.add(5); ll.add(10); ll.remove(5);
Data structures are used to organize and manipulate data efficiently in various applications.
Data structures are used in databases to store and retrieve data quickly.
In computer graphics, data structures are used to represent geometric objects.
Data structures are used in algorithms such as sorting and searching.
In networking, data structures are used to represent network packets and routing tables.
Data structures are u...
Merge sort is a divide and conquer algorithm that recursively divides the input array into two halves, sorts them and then merges them.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Repeat until the entire array is sorted
Cloud computing is widely used in various industries for data storage, processing, and analysis.
Cloud computing allows for easy scalability and cost-effectiveness in managing large amounts of data.
Real-time collaboration and access to data from anywhere are some of the benefits of cloud computing.
Examples of cloud computing applications in real-world projects include Amazon Web Services (AWS), Microsoft Azure, and Goog...
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
To add a new server in Spring Boot, you need to exclude the default Tomcat dependency and add the desired server dependency.
Exclude the Tomcat dependency in the pom.xml file
Add the desired server dependency in the pom.xml file
Configure the server properties in the application.properties or application.yml file
Checking if a string is not null without using string != null.
Use string.IsNullOrEmpty() method
Use string.IsNullOrWhiteSpace() method
Use string.Compare() method to compare with an empty string
Use string.Length property to check if length is greater than 0
Yoda notation is a programming style where the order of a conditional statement is reversed.
Used to avoid null pointer exceptions
Improves readability for complex conditions
Example: if ('red' === color) instead of if (color === 'red')
Convert a List of employees into a Map of Employees with ID as the key.
Create an empty Map
Iterate through the List of employees
For each employee, add a key-value pair to the Map with ID as key and employee object as value
I applied via Job Portal and was interviewed in Dec 2021. There were 4 interview rounds.
A prime number is a positive integer greater than 1 that has no positive integer divisors other than 1 and itself.
Prime numbers are only divisible by 1 and themselves
Examples of prime numbers include 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, and 97
Prime numbers are important in cryptography and number theory
Code to check if a number is prime or not.
A prime number is only divisible by 1 and itself.
Start checking from 2 up to the square root of the number.
If the number is divisible by any number in the range, it's not prime.
Otherwise, it's prime.
What is the average age of a group of people with ages ranging from 20 to 60?
Add up all the ages and divide by the number of people in the group
The age range is 40 years
Assuming an equal distribution of ages, the average age would be 40
I applied via Company Website and was interviewed in Aug 2021. There were 4 interview rounds.
I applied via Recruitment Consultant and was interviewed in Oct 2021. There were 3 interview rounds.
HCL is a global IT services company providing software engineering and consulting services.
HCL is a multinational company headquartered in India.
They offer a wide range of IT services including software development, testing, and maintenance.
HCL has a strong presence in various industries such as healthcare, finance, and manufacturing.
They have partnerships with leading technology companies like Microsoft, IBM, and Orac...
I applied via campus placement at SSN College of Engineering, Chennai and was interviewed in Apr 2021. There were 5 interview rounds.
Yes, GD-one time use plastic should be banned.
One-time use plastic is harmful to the environment and wildlife.
Alternatives like reusable bags and containers are readily available.
Many countries and cities have already implemented bans on single-use plastics.
Reducing plastic waste is crucial for the health of our planet.
based on 1 interview
Interview experience
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Senior Software Engineer
21.4k
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Technical Lead
11.7k
salaries
| ₹9.5 L/yr - ₹38 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹1.8 L/yr - ₹8.2 L/yr |
Team Lead
5k
salaries
| ₹5.2 L/yr - ₹17 L/yr |
Infosys
Cognizant
Accenture
Wipro