Pregunta de entrevista de Arcesium

Round 2 - Coding. 1 DSA question with multithreading. Focus was more on the multithreading part.