CodingReported in a candidate post, Dec 2024
Two basic coding problems: array maximum and word/space count
Filed under Tech Mahindra
The question
The coding section had two simple problems: find the maximum number in an array, and count the words and the spaces in a sentence, within 45 minutes.
No write-up yet. Related questions below have one.
Related Tech Mahindra questions
- Network Protocol: Decimal to Binary Conversion
- Aptitude and coding test with array second smallest element and anagrams
- Technical interview on OOP polymorphism, SQL joins, linked list cycles, and deadlocks
- Coding questions and pseudocode evaluation
- Basic programming problems (Palindrome, Factorial, Prime)
Collected from public candidate posts and coding forums. Updated Nov 2026.