I have two set of integers(i.e. first one is: 2,3,4,5 and second one is 1,2,3,6). How can I found the addition numbers array(1,6) and subtracted numbers array(4,5)? I said collection but I keep them at Set however if you have any other idea, I can use it too. I will keep addition numbers and subtracted numbers within different collections too.
Share
I assume you mean elements in one set but not the other.