Natrix Technology interview question

some thread related questions.