Answer:
Output:
2
3
* An intersection is the subset of each collection that is found in both collections. Given two sets of values, It will find our whether there is any common element among two and return them.
Asked In: Many Interviews |
Alert Moderator