Lonely Integer

  • + 0 comments

    Scala Solution

    def lonelyinteger(a: Array[Int]): Int = {
        // Write your code here)
            a.reduce(_^_)
        }