Hello!
I need to create an address book using binary tree. As I see it I must attach an integer to every name in my book, so if I enter a name and it is in my aadress book, program acquire a integer. Now that integer can be searched in binary tree and I can get contact's info.
My question is that is it good idea. Let's say hypotetically I have billion contacts and program must find that right one to acquire integer, doesn't it take too much time? What is the process behind comparing inserted strings with strings in memory?