i
Tech Mahindra
Filter interviews by
I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.
Arithmetic questions
I appeared for an interview before Apr 2020.
I applied via Campus Placement and was interviewed in May 2021. There were 3 interview rounds.
Mcq and 2 coding(basic)
OOPs is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs stands for Object-Oriented Programming.
It focuses on creating objects that interact with each other to solve a problem.
Encapsulation, Inheritance, Polymorphism, and Abstraction are the four main pillars of OOPs.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inherita...
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Superset and was interviewed before Aug 2021. There were 2 interview rounds.
Aptitude consists of general thinking, pseudo code, and game aptitude
Delegate responsibilities and establish clear communication channels for team members to handle situations in my absence.
Assign clear roles and responsibilities to each team member
Establish communication channels and protocols for emergencies
Ensure team members have access to necessary resources and information
Provide training and support to team members to handle unexpected situations
Regularly check in with team membe...
I applied via Company Website and was interviewed in Dec 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Nov 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed in Jan 2021. There were 4 interview rounds.
Implement a stack using a queue data structure.
Create two queues, q1 and q2.
Push operation: Enqueue the element to q1.
Pop operation: Dequeue all elements from q1 to q2 except the last one. Dequeue the last element from q1 and return it. Swap q1 and q2.
Top operation: Dequeue all elements from q1 to q2 except the last one. Dequeue the last element from q1 and return it. Enqueue the element to q2. Swap q1 and q2.
isEmpty o
Finding address of an element in an array given the address of 0th index.
Calculate the offset of the desired element from the 0th index address and add it to the 0th index address.
Address of ith element = address of 0th element + i * size of each element.
Example: Address of 3rd element in an array of strings = address of 0th element + 3 * size of string.
I applied via Recruitment Consulltant and was interviewed before Sep 2021. There were 3 interview rounds.
Code to count handshakes between N people and a class using OOPs concept.
For counting handshakes, use a loop to iterate through each person and add up the handshakes with the remaining people.
For the class, define attributes and methods based on the requirements and use encapsulation, inheritance, and polymorphism concepts.
Example: class Person with attributes name and age, and method greet(). Class Employee inherits f...
WAs asked about my previous experience and projects related query
Given one scenario and asked my approached to solve it
based on 1 interview
Interview experience
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.3 L/yr |
Senior Software Engineer
21.5k
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Technical Lead
11.9k
salaries
| ₹9.5 L/yr - ₹32 L/yr |
Associate Software Engineer
5.6k
salaries
| ₹1.8 L/yr - ₹5.8 L/yr |
Team Lead
5k
salaries
| ₹5.2 L/yr - ₹17.4 L/yr |
Infosys
Cognizant
Accenture
Wipro