- The insistent ramblings of creative writer and game industry veteran Joe Houston.Learn more...
Stupid Interview Questions Archive
-
Stupid Interview Questions Everyone Still Asks: Reverse the Words in a String
Posted on February 23, 2011 | Posted In: Stupid Interview Questions | 31 CommentsEDIT – Called out on my sample implementation not handling whitespace well so I updated the example. Well played Internet, well played. The Question: Can you write a function that reverses the words in a string? In this case “the quick brown fox” becomes “fox brown quick the”. Demonstrate on… -
Stupid Interview Questions Everyone Still Asks: C/C++ Volatile and Mutable
Posted on February 12, 2011 | Posted In: Stupid Interview Questions | 12 CommentsEDIT – 02/13/2011: If you’re getting ready to flame me as part of an elaborate love letter to the keyword volatile read this first. This author does a better job of explaining the point I’m trying to make. I muck it up a bit by trying to be “colorful”. You…