← MAQ Software questions
CodingEasy-MediumReported in a candidate post, Feb 2021

Reverse string and alternate words

Filed under MAQ Software

Given a space-separated string s of words, reverse the order of the words in the string, and also reverse the characters of every alternate word in the resulting order (0-indexed: 0th, 2nd, 4th…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MAQ Software questions

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