Implement the unique_names method. When passed two arrays of names, it will return an array containing the names that appear in either or both arrays. The returned array should have no duplicates.
For example, calling MergeNames.unique_names(["Ava", "Emma", "Olivia"], ["Olivia", "Sophia", "Emma"]) should return an array containing Ava, Emma, Olivia, and Sophia in any order.
- Example case: Wrong answer
- Each array has distinct names: Wrong answer
- Each array has duplicate names: Wrong answer
- Arrays have some names in common: Wrong answer