โ† Adobe questions
CodingReported in a candidate post, Jul 2025

Reverse words in a string, first with stack then O(1) space

Filed under Adobe

Reverse the order of the words in a string. Solve it first with a stack, then reduce the extra space to O(1) by working in place on a character array.

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 Adobe questions

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