|
-
January 25th, 2012, 02:54 AM
#3
Re: data structrue to store data and calculate average
well at first, due to the average complexity, I've tried to use hash table and skip list... that's didn't work... i still think it is possible, its just that i cant make the average function in O(1)
second opinion is that the insert and update complexity makes me think about going for either a tree or a list with binary search... but again, what with the average...
i think they want us to use heap/hash/skip list...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|