Fanatics interview question

Http method. deadlock and race condition.