FanDuel interview question

handling concurrency in java