Question

can some help me with this? i have no ideaaa lol Use examples to discuss the...

can some help me with this? i have no ideaaa lol

Use examples to discuss the differences between general purpose data structure and abstract data types (you can choose one general purpose data structure and one abstract data type in Discussion).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

An abstract datatype is an interface. It is defined by what operations it will support. It doesn't specify what datastructure or algorithmic technique will be used to provide those operations.

For example, there may be different ideas that can be used to implement a queue..It may be a circular queue, a linked list based queue, a queue based on two stacks..etc... A priority queue might be implemented with any one of the many types of heaps or BST's.

A linked list is a specific data structure, not just a specification of what operations will be supported. It would be probably more accurate to say that a linked is a category of data structures.

ADT's will specify only what the interface will be and nothing about what techniques will be used.

Hope this helps u.. :)

Add a comment
Know the answer?
Add Answer to:
can some help me with this? i have no ideaaa lol Use examples to discuss the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT