Answer:
Explanation:
Actually this is possible
First sort the list of all names in ascending order based on string comparison (ASCII value)
The middle can be found as we have total number of contacts
Binary search can be applied by comparing the name string
If any of these is not given or time bound then binary search can not be applied.