Ping Identity interview question

bank process problem on multithreading