# Basics of Sets and Relations #1

# Basics of Sets and Relations #1

- B
bbkane + 0 comments How can I recommend this to folks who want to learn SQL if the mathmatical operators aren't defined before questions are asked about them. It's pretty hard to google

`set union`

if you've never seen it before... I'd love some more explanation for the math.

shams_keshk + 1 comment Answer is 8 : because they said how many elements so A U B = {1,2,3,4,5,6,7,8} this group consists of 8 elements , try to Count the elements of your result

- KK
kamleshnsi9357 + 0 comments Hi, As per my understanding your answer is correct.

Can you please share the code and how to run it.

Thanks,

- PG
pgkamath1993 + 0 comments Generally, is it ok to assume that the set is sorted?

abidkhan484 + 1 comment where i should write the answer?

i just answered on the editorial box. but it didn't work.

codex0535 + 0 comments Just type integer 8 and then click "Submit Code"

Suryakumar007 + 1 comment write exactly the correct integer. If the answer is 5 just type, 5 Click submit code don't hit run code. that's it

sitaramjune3 + 0 comments it was not working

LeoTM + 0 comments The

**union**of two sets is the set of elements which are inset (8).*either*The

**intersection**of two sets is the set of elements which are insets (5).*both*

- SS
shreyverma03 + 0 comments i am getting my answer in dev c++ fr this problem but hee its showing wrong answer.can anyone help me?

- L
Lietill + 0 comments Always remember to read the question thoroughly . I managed to rack up at least five failures on this exercise because I read it as "Lists the elements of the union of X and Y..." rather than "How many elements in the union of X and Y?"

My stupidity aside, it's always a good idea to make sure you thoroughly understand your goal when working on a programming or maths related problem.

krshnn + 2 comments Everytime I submit the answer it says wrong answer. Can you help me....

dhakrey199 + 0 comments check ur answer it is 8

ankitdixit08Asked to answer + 1 comment you just have to write 8 in the answer box.

krshnn + 0 comments Thanks Ankit I got it.

- KS
kanika30 + 1 comment why the answer is not 5 as letter 2,3,4,5,6 numbwers are common in both sets

dhakrey199 + 0 comments answer is 8,you have to find union not intersection

Sort 30 Discussions, By:

Please Login in order to post a comment