Broadcom Interview Question

Sorting algorthm and dsa question on binary search