15,999,596 members
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:

Posted
Updated 11-Jan-22 22:17pm
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
Yes, you are right.

## Solution 1

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.