Practice multiple puzzles online, and try to solve them on your own without looking for answers. Interviewers will test your thinking abilities and insist more than getting the correct answer.