Aptiv interview question

Print Odd and even number using two thread