A dictionary ADT - I need the answer for this by tomorrow

I need an ADT that maintains a set of keys (that can be sorted - numbers for example) that implements inserting and deleting a key in O(1) time worst-case and finding a key in O(n*log(n)) time worst-case. Also, the amortized time complexity of all operations should be O(log(n)).

I need a description of the data structure (no code/pseudo-code) and proofs about the running time complexities...

Thank y'all!

[427 byte] By [ruvia] at [2007-10-2 16:40:53]
# 1
By tomorrow you say?
prometheuzza at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 2
Yes... Wednesday morning max...
ruvia at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 3
FYI putting "need answer by xxxx" is probably a good way to get people to not answer your question. They will assume:a) You are a studentb) You are too lazy to do your own work
Autolykosa at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 4
> Yes... Wednesday morning max...Hmmm, Wednesday morning...
prometheuzza at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 5
> Yes... Wednesday morning max...Which time zone?
sabre150a at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 6
East Coast
ruvia at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 7
> East CoastThe East coast of Japan?
prometheuzza at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 8
Why can't we just focus on the ADT problem?
ruvia at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 9
Do you live on the coast? Because that would be awesome. You could see the ocean. Of course you need to be facing east.
sjasjaa at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 10
> Do you live on the coast? Because that would be> awesome. You could see the ocean. Of course you need> to be facing east.I live near the east coast (50 miles) but even if a lived on the east coast I could not see the ocean, just the North Sea.
sabre150a at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 11

> > Do you live on the coast? Because that would be

> > awesome. You could see the ocean. Of course you

> > need

> > to be facing east.

>

> I live near the east coast (50 miles) but even if a

> lived on the east coast I could not see the ocean,

> just the North Sea.

I live near the West coast of the Netherlands, but some might say everything in the Neterlands is coast... I too am not able to see the ocean directly.

prometheuzza at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 12

> > I live near the east coast (50 miles) but even if

> a

> > lived on the east coast I could not see the ocean,

> > just the North Sea.

>

> I live near the West coast of the Netherlands, but

> some might say everything in the Neterlands is

> coast... I too am not able to see the ocean directly.

So you see the same sea that I would see if I could see the sea!

sabre150a at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 13

> > > I live near the east coast (50 miles) but even

> if

> > a

> > > lived on the east coast I could not see the

> > > ocean,

> > > just the North Sea.

> >

> > I live near the West coast of the Netherlands, but

> > some might say everything in the Neterlands is

> > coast... I too am not able to see the ocean

> > directly.

>

> So you see the same sea that I would see if I could

> see the sea!

Exactly!

And if I were the OP, I'd see to it to see the sea soon, because you'd see things much clearer afterwards, so that I wouldn't have to see off this assignment. See?

prometheuzza at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...
# 14
Oops. It's already 1 PM on Wednesday here. Guess it's only the Hawaiians that can save you now.And they can see the sea too. They are probably all out surfing.
DrClapa at 2007-7-13 17:49:32 > top of Java-index,Other Topics,Algorithms...