Visa Inc. interview question

Problem solving, Java multithreading