Re: help with interview question



Define "good"?

Small - then maybe it should be compressed.
Fast in looking up number - than maybe he meant tree
Fast in adding and looking up - maybe he meant AVL tree

Best regards,

Radek Hofman

Uzytkownik "new_dude" <yjaplomb@xxxxxxxxx> napisal w wiadomosci
news:1171430418.750314.242700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi to our experts,

I was asked by interviewer to give a good data sturcture for phone
directory, so you can look up someone's phone number.

I didn't know the answer, I hope our experts can help me with it.

Thanks.



.