Embitel Technologies Interview Question

Java threading and some coin puzzles