Binary search and Key search