Tech Mahindra Coding Questions
Coding problems with solutions
Read authentic Tech Mahindra interview experiences from recent candidates 2025-2026. Round-by-round breakdown, questions asked, preparation tips, and strategies for Tech Mahindra placement.
Tech Mahindra (part of the Mahindra Group) runs campus hiring through a 90-minute online test—Quantitative Aptitude, Logical Reasoning, Verbal Ability, Technical MCQs, and 1–2 coding problems—followed by technical and HR rounds. The process usually takes 2–3 weeks. Eligibility is 6.0 CGPA / 60%; freshers are hired as Associate Software Engineer with package ₹3.5–4.5 LPA.
| Round | Duration | Focus Areas |
|---|---|---|
| Online Assessment | 90 min | Quantitative (15–20 Q), Logical Reasoning (15–20 Q), Verbal (10–15 Q), Technical (10–15 Q), Coding (1–2). Sectional + overall cutoff ~60–65%. At least 1 coding problem must be solved. |
| Technical Interview | 45 min | Programming, data structures, OOPs, DBMS, project discussion, live coding. |
| HR Interview | 30 min | Background, why Tech Mahindra, career goals, compensation, fit. |
Date: October 2024 · Branch: CSE · Package: ₹3.5–4.5 LPA
The OA had five sections; aptitude carried a lot of weight. Quant had percentages, ratios, time & work; reasoning had syllogisms and coding-decoding; verbal had a comprehension passage and grammar. Technical covered C/Java basics, OOPs, and DBMS. There were 2 coding questions (e.g. array/string); I solved one completely. Tip: Pace yourself—aptitude has more questions; leave enough time for coding so you solve at least one.
Interviewer asked about my projects and then gave a small coding task (e.g. second largest in array). Questions included: difference between overloading and overriding, what is normalization, and a simple SQL query. Tip: Be ready to write code in Java or Python; explain your approach clearly.
Standard questions: Tell me about yourself, Why Tech Mahindra?, Where do you see yourself in 5 years?, strengths and weaknesses. They stressed digital transformation and 5G work. Tip: Mention Tech Mahindra’s focus on telecom and digital; show willingness to learn.
Date: November 2024 · Branch: IT · Package: ₹3.5–4.5 LPA
Similar pattern: 50–60 questions in 90 minutes. I attempted all sections and made sure to get one coding problem correct. Sectional cutoffs felt around 50–60% per section. Tip: Practice Tech Mahindra previous year papers; aptitude speed matters.
Project discussion first, then: explain inheritance with example, write a query to find duplicate records, and a short program (e.g. palindrome or factorial). Tip: Revise DBMS and OOPs; have 2–3 projects you can explain in depth.
Quick round: family background, why Tech Mahindra, relocation, and confirmation on 6.0+ CGPA and no backlogs. Tip: Keep answers brief and professional.
Tech Mahindra Coding Questions
Coding problems with solutions
Tech Mahindra Preparation Guide
Complete preparation strategy
Tech Mahindra 2025 Papers
Previous year papers
Tech Mahindra Aptitude Questions
Aptitude practice
Tech Mahindra Main Page
Eligibility, process, cutoffs
Written by the placementpapers.app editorial team · Verified by industry hiring professionals
Last updated: February 2026