The problem, in one line. Every value appears twice except two values that appear once each, and you return those two using linear time and constant extra space. LeetCode 260.
The tell. The first card’s pairs-cancel setup, but with two loners. XOR alone cannot return two numbers, so you need a way to split the list so each loner lands in a different half.