add reverse integer and remove duplicate from LL