Developer Interview Questions

269,109 developer interview questions shared by candidates

Given a mutable string (array of characters) of words, how would you reverse the order of the words in the string, not the entire string. This must be done in place, i.e. not using any additional memory. eg) "Hello World" => "olleH dlroW"
avatar

Software Developer

Interviewed at Amazon

3.5
Nov 24, 2011

Given a mutable string (array of characters) of words, how would you reverse the order of the words in the string, not the entire string. This must be done in place, i.e. not using any additional memory. eg) "Hello World" => "olleH dlroW"

Viewing 911 - 920 interview questions

Glassdoor has 269,109 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.