Return the sorted array of common values that appear in both a and b, with no duplicates.
a
b
solve(...)