I've conducted hundreds of technical interviews, mostly at Google. It bothers me a lot when I read comments here saying that tech interviewers are just testing trivial knowledge or for memorization of obscure algorithms. (And some are, but they're bad interviewers.) As if you need only memorize the right magic spells, and bang, you're in.