Question: 22. A SinglyLinkedList structure is used to store a data set. Calculate its density if: a) Each of the client's information nodes contains 8 bytes
22. A SinglyLinkedList structure is used to store a data set. Calculate its density if:
a) Each of the client's information nodes contains 8 bytes of information, and there are 50 nodes in the data set.
b) Each of the client's information nodes contain 200 bytes of information, and there are one million nodes in the data set.
DA =(infrmation bytes) / (total bytes ) = (n * w)/ ((n*w) + 4(3 + 2n) as over head
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
