You are viewing a single comment's thread. Return to all comments →
I got this wrong initially because this note is ambiguous:
Note: Since and are sets, they have no repeated elements. However, the array might contain duplicate elements.
which I read as instructing me to not count duplicate elements so I made a set from the array which gives the wrong answer.
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →
I got this wrong initially because this note is ambiguous:
which I read as instructing me to not count duplicate elements so I made a set from the array which gives the wrong answer.