NTT DATA Interview Question

They asked me to write a program for synchronisation .