Meta interview question

question on multi thread