Developer Interview Questions

271,141 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 891 - 900 interview questions

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