- Return the number of unique elements instead of a sliced list - Update notes to reflect the required interface contract - Simplify the algorithm by removing unnecessary trimming - Rewrite tests to mirror LeetCode's custom judge
- Return the number of unique elements instead of a sliced list - Update notes to reflect the required interface contract - Simplify the algorithm by removing unnecessary trimming - Rewrite tests to mirror LeetCode's custom judge