Lonely Integer

  • + 0 comments

    yo guys this is simpler and more effecient.....

    from collections import Counter as c

    at #write your code replace it with res=c(a) for i in a: if res[i]==1: return i