          self.left = None
          self.right = None
  
      def __str__(self):
          return str(self.data)
  
  
 
</s>
        self.parent = None
          self.left = None
          self.right = None
        self.parent = None
  
      def __str__(self):
          return str(self.data)
  
  
keep add keep keep keep keep keep
 Updated bst to keep track of its parent and to return the node it inserts.
graphs_trees/bst/bst.py