The careercup.com website has sample interview programming questions and sells some good books on the topic. The podcast below is an interview with the author, from the extroverted developer podcast, where she talks about what goes on in a typical programmer's interview at google, amazon, etc.