Find one shared item and two different items
Example input
A
B
→
B
CExpected result
common: B
first only: A
second only: CPut A and B in the first list and B and C in the second. Inspect the common and side-specific results. With these simple inputs, trimming and case options do not change the answer. With real identifiers, decide whether spaces and capitalization are meaningful before enabling normalization.