i
Tech Mahindra
Filter interviews by
I appeared for an interview in Nov 2020.
Round duration - 60 minutes
Round difficulty - Easy
You are provided with an array or list of integers named ARR
of size N
. The task is to determine two things:
Count the number of elements with odd and even occurrences in an array of integers.
Iterate through the array and use a hashmap to store the count of each element.
After counting, iterate through the hashmap to determine odd and even occurrences.
Return the counts of elements with odd and even occurrences.
You are given a singly linked list where each node contains an integer value and a reference to the next node or NULL if it is the last node. The task is to remov...
Remove nodes in a singly linked list with a greater value on the right.
Traverse the linked list and compare each node's value with the values of nodes to its right.
If a node has a greater value on the right, remove it from the linked list.
Update the references of the previous node to skip the removed node.
Tip 1 : Try solving Love Babbar 450 Prog questions
Tip 2 : Have a good resume
Tip 3 : Do learn some extra technologies eg. ML/AI
Tip 1 : Do not lie at all
Tip 2 : Have some projects listed
I applied via Company Website and was interviewed before Oct 2021. There were 5 interview rounds.
Basic Aptitude with some difficult questions
3 set of coding question were asked 1 easy ,1 medium ,1 hard
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
I applied via Campus Placement and was interviewed in Oct 2020. There were 3 interview rounds.
C++ is an extension of C programming language with added features like object-oriented programming.
C++ supports object-oriented programming while C does not.
C++ has classes and objects while C does not.
C++ has function overloading and operator overloading while C does not.
C++ has exception handling while C does not.
C++ supports namespaces while C does not.
Micro-processor and micro-controller differ in their architecture and usage. 555 IC is a timer IC used in electronic circuits.
Micro-processor is a CPU with minimal peripherals while micro-controller has CPU, memory, and peripherals on a single chip.
Micro-processor is used in applications that require high processing power while micro-controller is used in embedded systems.
555 IC is a timer IC that can be used in variou...
C++ provides object-oriented programming and better memory management than C.
C++ supports classes and objects which makes code modular and reusable.
C++ has better memory management with features like constructors and destructors.
C++ supports function overloading and operator overloading which makes code more readable.
C++ has a rich library of built-in functions and data types.
C++ supports exception handling which makes...
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹5.5 L/yr - ₹23.5 L/yr |
Technical Lead
11.9k
salaries
| ₹9.6 L/yr - ₹38.5 L/yr |
Associate Software Engineer
5.7k
salaries
| ₹1.8 L/yr - ₹5.9 L/yr |
Team Lead
5.1k
salaries
| ₹5.3 L/yr - ₹17.5 L/yr |
Infosys
Cognizant
Accenture
Wipro