You are given two arrays of integers. Your task is to implement a function to calculate the union of these arrays.
arr1 = [1, 2, 3, 4, 5] arr2 = [3, 4, 5, 6, 7] [1, 2, 3, 4, 5, 6, 7]
Last updated 1 year ago