datastructpy.node
=================

.. py:module:: datastructpy.node


Classes
-------

.. autoapisummary::

   datastructpy.node.Node


Module Contents
---------------

.. py:class:: Node(key)

   A class representing a node in a binary search tree (BST).

   .. attribute:: key

      The value stored in the node.

      :type: int

   .. attribute:: left

      The left child node (default is None).

      :type: Node, optional

   .. attribute:: right

      The right child node (default is None).

      :type: Node, optional


   .. py:attribute:: key


   .. py:attribute:: left
      :value: None



   .. py:attribute:: right
      :value: None



