Ask HN: Interviewing methods for software engineer?
My method is to describe a part of real system and ask how would you solve the problem. The emphasis is given on candidates who can find what the actual problem is and less on the detailed level of code.