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.