• + 0 comments

    XOR

    def lonely_integer(arr):
        result = 0
        for num in arr:
            result ^= num
        return result