Bizzabo interview question

A threading question, analyzing the runtime of the code