Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a postings intersection between this postings list, with skip pointers: 3 5 9 1 5 2 4 3 9 6 0 6 8 7

Consider a postings intersection between this postings list, with skip pointers:
359152439606875818489929697100115
and the following intermediate result postings list (which hence has no skip pointers):
3589959799100101
Trace through the postings intersection algorithm. How often is a skip pointer followed (ie., p1 is advanced to skip (p1))?
b. How many postings comparisons will be made by this algorithm while intersect- ing the two lists?
c. How many postings comparisons would be made if the postings lists are inter- sected without the use of skip pointers?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions