Question: Was wondering how to code this? /* Find a difference of two skip lists by removing elements of skip list 2 from skip list 1.

Was wondering how to code this?

/* Find a difference of two skip lists

by removing elements of skip list 2 from skip list 1.

param: slst1 -- pointer to the skip list 1

param: slst2 -- pointer to the skip list 2

pre: slst1 and slst2 are not null, and skip list 1 and skip list 2 are not empty

post: slst1 points to the merger skip list*/

void diffSkipList(struct skipList *slst1, struct skipList *slst2)

{

/* FIX ME */

} /* end of the function */

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!