Practice questions for programming competition and interviews.