Observations of the traffic on a data structure over a certa
Observations of the traffic on a data structure over a certain period of time indicate that
500 Insert operations, 500 Delete operations, 700 Fetch operations, and 200 Update operations were performed on a data
Set. If Insert operations take 10 nanoseconds, Delete Operations take 250 nanoseconds, Fetch operations 200 nanoseconds
Update Operations take 300 nanoseconds nationwide.
Determine, in nanoseconds, the data structure over the observation period.
Solution
Given that there are 500 insert operations and 10nanoseconds for each
500 Delete opeartions and 250nanoseconds for each
700 Fetch operations and 200 nanoseconds for each
200 Update operations and 300nanoseconds for each
Hence total time to complete all the above given opeartions is
500*10+500*250+700*200+200*300
= 5000+125000+140000+60000
=330000 nanoseconds
