Pergunta de entrevista da empresa Leeco

Printing odd and even values using two different threads.