Write recent_unique(views, k) returning the last k distinct items viewed, most recent first: ["a","b","a","c"], 2 → ["c","a"].
recent_unique(['a', 'b', 'a', 'c'], 2) → ['c', 'a']
recent_unique([], 3) → []
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.