Metadata-Version: 2.1
Name: py-fds
Version: 1.1
Summary: Simple implementation of data structures for python
Home-page: https://github.com/FathiMalek/py-fds.git
Author: Abdelmalek Fathi
Author-email: fathiabdelmalek0666006253@gmail.com
License: UNKNOWN
Description: # fds
        
        Simple implementaion of data structures __(DS)__ for python
        
        ## Content
        
        - linked list
        - stack
        - queue
        
        ## Classes
        
        - List // linked list
        - Stack // stack
        - Queue // queue
        
        ## API
        
        ### List
        
        - insert(self, data, pos=0) // TODO: add node in the entered position (pos=0 => add in the begining)
        - append(self, data) // TODO: add node in the end
        - delete(self, data) // TODO: delete all nodes hav the entered data
        - remove(self, pos=0) // TODO: return and remove node in the entered position (pos=0 => remove first node, pos=-1 => remove last node)
        - first(self) // TODO: return the data in the first node
        - last(self) // TODO: return the data in the last node
        
        ### Stack
        
        - push(self, data) // TODO: add a node to the top
        - pop(self) // TODO: return and remove the node in the top
        - top(self) // TODO: return the data in the first node
        
        ### Queue
        
        - enqueue(self, data) // TODO: add a node to the end
        - dequeue(self) // TODO: return and remove the first element
        - front(self) // TODO: return the data in the first node
        - back(self) // TODO: return the data in the last node
        
        ### API for all structures
        
        - __repr__(self) // USE: print([DS_name]) // TODO: display the __DS__
        - __len__(self) // USE: len([DS_name]) // TODO: return the lenth of the __DS__
        - empty(self) // TODO: return True if the __DS__ is empty
        - clear(self) // TODO: clear the __DS__
        - find(self, data) // TODO: return the number of how many the entered data found in the __DS__
        - reverse(self) // TODO: return the reverse of the __DS__
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
