src/PyDS/Queue/Queue.py
def enqueue(self, value: Any) -> None:
        """Insertion to the tail of the queue

        :param value: The value inserting to the tail
        :type value: Any
        """
        if self.__size == self.__capacity:
            self.__resize(capacity=2 * self.__capacity)
        end = (self.__front + self.__size) % self.__capacity
        self.__list[end] = value
        self.__size += 1
Insertion to the tail of the queue

        :param value: The value inserting to the tail
        :type value: Any
        
Insertion to the tail of the queue
Insertion to the tail of the queue
def enqueue(self, value: Any) -> None:
        if self.__size == self.__capacity:
            self.__resize(capacity=2 * self.__capacity)
        end = (self.__front + self.__size) % self.__capacity
        self.__list[end] = value
        self.__size += 1
def enqueue ( self , value : Any ) -> None : if self . __size == self . __capacity : self . __resize ( capacity = 2 * self . __capacity ) end = ( self . __front + self . __size ) % self . __capacity self . __list [ end ] = value self . __size += 1
Insertion to the tail of the queue
Insertion to the tail of the queue
"""Insertion to the tail of the queue

        :param value: The value inserting to the tail
        :type value: Any
        """
self
value
Any
The value inserting to the tail
The value inserting to the tail