Question

Write a function to find the union of two sets?

Login to Submit

Examples

Union of two sets A and B is a set which contains all the elements of A and B

Input: [5, 6], [7, 8]
Output: [5, 6, 7, 8]