

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Initial set Set: 3493240 Elements: 0 1 2 3 4 5 6 7 8 9 Found 0: 1 Found 15: 0 After trying to add 0 Found = 1 Set: 3493240 Elements: 0 1 2 3 4 5 6 7 8 9 After trying to remove 0 Found = 1 Set: 3493240 Elements: 1 2 3 4 5 6 7 8 9 Using iterator to loop over set 1 2 3
Set 2 Set: 3493384 Elements: 4 5 6 7 8 9 10 11 12 13 Union Set: 3486408 Elements: 1 2 3 4 5 6 7 8 9 10 11 12 13 Intersection Set: 3499056 Elements: 4 5 6 7 8 9