What are Jow Forums's favorite programming interview questions?
The ones you would ask if you were interviewing a candidate?
Math teasers are welcome too. I'll start.
>You flip a fair coin many times until either a pattern of HHT or HTT occurs.
>Which of these is more likely to occur, or are they the same?
>What is the probability to get each pattern?