Merge and Sort Two Arrays of Integers
You are given two arrays of integers as arguments. Merge the two arrays into a single array sorted in ascending numerical order, with all duplicates removed.
- Must return an array of integers
- Should also work with negative numbers
solve([1,2,3,4],[8,9,2,4) > [1,2,3,4,8,9]
solve([-1,2,3,4],[1,8,9,2,4) > [-1,1,2,3,4,8,9]