1.

Given `A={1, 2, 4, 5, 6, 8, 20}` and `B={2, 3, 4, 5, 9, 20}`. Find `A-B` and `B-A`.

Answer» `A-B={1, 2, 4, 5, 6, 8, 20}-{2, 3, 4, 5, 9, 20}={1, 6, 8}`
`B-A={2, 3, 4, 5, 9, 20}-{1, 2, 4, 5, 6, 8, 20}={3, 9}`


Discussion

No Comment Found

Related InterviewSolutions