Shift an array.
Anonymous
A standard question to reveal logical thinking. Now that this interview question has appeared twice on this website, it may not be asked again (and probably shouldn't be).
Check out your Company Bowl for anonymous work chats.