Yandex Interview Question

Two threads prints Ping Pong one by one.

Interview Answer

Anonymous

Feb 3, 2023

Failed because of nervous, but resolve this task after in several minutes used AtomicBoolean, while loop in each thread

1