code: def test_intersection(self):
      # create linked list as:
      # 1 -> 3 -> 5
      #            \
      #             7 -> 9 -> 11
      #            /
      # 2 -> 4 -> 6
      a1 = Node(1)
      b1 = Node(3)
      c1 = Node(5)
      d = Node(7)
      a2 = Node(2)
      b2 = Node(4)
      c2 = Node(6)
      e = Node(9)
      f = Node(11)
  
      a1.next = b1
      b1.next = c1
      c1.next = d
      a2.next = b2
      b2.next = c2
      c2.next = d
      d.next = e
      e.next = f
  
      self.assertEqual(7, intersection(a1, a2).val)
  
file_path: keon-algos/algorithms/linkedlist/intersection.py
imports: import unittest
label_desc: Use image node_id 1 for calling the TestSuite obj's underlying member method code with example usage: obj.test_intersection() without return types