Oracle java Interview questions

1013
Jan 20, 2022
  1. find if a linkedlist is a palandrome or not.

  2. there are 2 Linked List. find out the common elements from it.
    exa - L1=[1,2,3,4,5,6]
    L2 = [10,20,4,5,6]

      o/p = 4,5,6
Comments (4)