Output:
Author: Nitin Mohan Shivale
Phone Book Application implementation using...
Fibbonacci Search Method:
The element inside phone book are as follows:
['amol', 1234567892]
['bavesh', 2132654522]
['chetan', 9923511212]
['dheeraj', 9823463224]
['eravati', 8530770714]
Total elements present in phonebook are: 5
Enter friend name u want to search:Bhavana
bhavana
bhavana is not present in phonebook
Record bhavana is now inserted in phonebook....
Enter mobile number of your friend:9923511212
['bhavana', 9923511212]
[['amol', 1234567892], ['bavesh', 2132654522], ['chetan', 9923511212], ['dheeraj', 9823463224], ['eravati', 8530770714], ['bhavana', 9923511212]]
but for Binary and Fibonnaci search record must be in sorted order in phonebook
****** after Sorting the data in phonebook...******
[['amol', 1234567892], ['bavesh', 2132654522], ['bhavana', 9923511212], ['chetan', 9923511212], ['dheeraj', 9823463224], ['eravati', 8530770714]]
Record bhavana added successfully in phone book....
>
All my concepts are clear now, Very easily explained everything.
ReplyDelete