Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
 Show the strength, weaknesses and compare the efficiency of each data structure(Array, Linked List and AVL) on these operations:
a)(0.25 points) Add a new student
b)(0.25 points) Remove a student
c)(0.25 points) Search a student


What I have tried:

I find advantages and disadvantages of each data structure
Posted
Updated 11-Jan-22 22:17pm
Comments
Richard MacCutchan 12-Jan-22 3:49am    
Do you have an actual question?
Nguyễn Tiến Phát 12-Jan-22 4:09am    
What do you mean ?
Richard MacCutchan 12-Jan-22 4:39am    
I mean, "do you have an actual question". All you have posted above is the outline of your assignment.
Nguyễn Tiến Phát 12-Jan-22 4:41am    
Yes
Patrice T 12-Jan-22 4:01am    
"I find advantages and disadvantages of each data structure"
Yes, you are right.

1 solution

Quote:
But about the efficiency of each data structure? What can I write about them ?

Take sizes of 100, 10000, 1000000, and choose 1 operation for each structure.
And now write the cost of that operation.
See how numbers evolve with size for each data structure, you should be able to deduce advantages and disadvantages.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900