Despegar.com interview question

Something about threads