i have 2 linked lists. i add the values into the list by stack implementation. Here is the point. if there any numbers which equals to each other, program will print "yes" otherwise, will print "no".
and i have to chech this in o(n) time. by the way i made push and pop operators by functions, not from the library.