ION Group interview question

debug multiple threads and complete the functions within them.