Qualcomm Interview Question

Binary search, To detect loop in a LL, to implement a queue with two stacks