Doubt in Bitwise XOR problem

we used bitwise XOR to find out a unique number out of a list of numbers which were recurring twice what if a number is repeated thrice instead of twice ? then how to approach the problem??

refer this
(https://www.geeksforgeeks.org/find-the-element-that-appears-once/)