← Tech Mahindra questions
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

Collected from public candidate posts and coding forums. Updated Nov 2026.