Re: help with interview question
- From: "new_dude" <yjaplomb@xxxxxxxxx>
- Date: 14 Feb 2007 06:10:33 -0800
On Feb 14, 4:50 am, "Radoslaw Hofman" <rad...@xxxxxxxxx> wrote:
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" <yjapl...@xxxxxxxxx> napisal w wiadomoscinews: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.
He asked me to give a data structure for phone directory, so one can
lookup a phone number using a given name, as regular phone book.
"Good" was not defined, I assumed he wants a good data structure.
An issue needs to be considered is that more than one person having
the same name, but different number.
Thanks.
.
- Follow-Ups:
- Re: help with interview question
- From: Radoslaw Hofman
- Re: help with interview question
- References:
- help with interview question
- From: new_dude
- Re: help with interview question
- From: Radoslaw Hofman
- help with interview question
- Prev by Date: Re: Hofman and Diaby talk about P=NP at INFORMS 2007
- Next by Date: Re: help with interview question
- Previous by thread: Re: help with interview question
- Next by thread: Re: help with interview question
- Index(es):
Relevant Pages
|