Problem trying to prove: deleteNode of NumberList is faster than

Added on - 16 Sep 2019

Trusted by 2+ million users,
1000+ happy students everyday
Showing pages 1 to 1 of 1 pages
Problem trying to prove:deleteNode of NumberList is faster than stl list.Hypothesis– I believe NumberList deleteNode is faster than STL erase.Experiment– I have taken three sample data size 20000, 30000 and 50000. I have created bothNumberList and STL list with these data sets. After that I have delete all the data in those lists.Results– In all the test cases, delete in NumberList was faster than STL list. See belowConclusion– Yes, my hypothesis was correct, I got results which supports it.
Desklib Logo
You are reading a preview
Upload your documents to download or

Become a Desklib member to get access