my question is about finding union & intersection
if there is data which contains..
u
1 3
2 4
i
3 5
5 6
then program finds out u( union set), and print 1 2 3 4
i(intersection set)and print 5.
i have tried a lot of things and spent a lot of times, but i could not figure it out.
please answer this question if someone know it.
thanks
if there is data which contains..
u
1 3
2 4
i
3 5
5 6
then program finds out u( union set), and print 1 2 3 4
i(intersection set)and print 5.
i have tried a lot of things and spent a lot of times, but i could not figure it out.
please answer this question if someone know it.
thanks