We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.

# Basics of Sets and Relations #2

# Basics of Sets and Relations #2

+ 0 comments Answer is '5'

Because the elements of A U B are 2,3,4,5,6. The count would be 5.

+ 0 comments just answer : 5 and submit the code because A U B => {2,3,4,5,6} so toatl count is => 5

+ 0 comments Intersection is basically when two subsets having same numbers, alaphabets wazifa to make someone miss you

+ 0 comments pythonlen(list(x for x in {1,2,3,4,5,6} if x in {2,3,4,5,6,7,8}))

+ 0 comments `int count=0; int a[]={1,2,3,4,5,6}; int b[]={2,3,4,5,6,7,8}; for(int i=0;i<a.length;i++) { for(int j=0;j<b.length;j++) { if(a[i]==b[j]) { count++; } }`

} System.out.print(count); } }

Load more conversations

Sort 31 Discussions, By:

Please Login in order to post a comment