Friday 31 July 2020

Group B: 12 [a] a) Write a python program to store names and mobile numbers of your friends in sorted order on names. Search your friend from list using binary search (recursive and non-recursive). Insert friend if not present in phonebook



Problem Statement:

a) Write a python program to store names and mobile numbers of your friends in sorted order on names. Search your friend from list using binary search (non recursive and recursive). Insert friend if not present in phone book.


Source Code:






Recursive Function of Binary Search:



The main function calling from here.....


data structures and algorithms Web Developer

No comments:

Post a Comment