I'm looking for some advice on interviewing technical candidates. I touched on this briefly in a question I previously asked: template questions in a technical interview and was informed that FizzBuzz questions are designed to weed out candidates you definitely don't want coming near your code.  Moving on from that, I'd like to know what FizzBuzz questions work best? In my own experience, the common one I've seen is Can you write a method to determine if a number is prime or not?. Personally, I find this a little too easy (writing the most efficient one is another story). Are there better FizzBuzz questions that can be used? What ones would you put to a candidate?
What are the best FizzBuzz questions for interviewing a candidate for a Software Developer role?
interview
I would look through this list of 100 questions and tailor it as needed for the specific job requirements of the position. I would suggest trying to hit every area once, especially if you are looking for a well-rounded engineer, but focus on the areas most relevant to the job.A few examples of the questions it sounds like you are most interested in. Instead of asking how, explicitly ask them to write a method or routine, either in pseudocode (my preferred method) or the language that they would be using if they were hired.How do you find out if a number is a power of 2? And how do you know if it is an odd number? How do you find the middle item in a linked list? How would you write a function to reverse a string? And can you do that without a temporary string? In an array with integers between 1 and 1,000,000 one value is in the array twice. Write a method to determine which one.