import LinkedList

# Problem description:      
# Solution time complexity: 
# Comments:                 

# Linked List Node inside the LinkedList module is declared as:
#
#   class Node:
#       def __init__(self, val, nxt=None):
#           self.val = val
#           self.nxt = nxt
#

def AreEqual(left: LinkedList.Node, right: LinkedList.Node) -> bool:
    lnode = left
    rnode = right

    while lnode != None and rnode != None:
        if lnode.val != rnode.val:
            return False
        else:
            lnode = lnode.nxt
            rnode = rnode.nxt

    return lnode == None and rnode == None

@@ -40,16 +40,74 @@
 n:      
+Given two linked lists, determine if they are equal.      
 %0A# Solut
@@ -127,16 +127,20 @@
 lexity: 
+O(n)
 %0A# Comme
@@ -646,25 +646,16 @@
 lnode ==
- None and
  rnode =

Update solution.py