Vodafone Interview Question

What is a threadlock and binary search