Skillz interview question

Race condition in multithreaded environment in Java