cs-nds

Often used things for Computer Science classes


Keywords
computer-science, data-structures, data-structures-and-algorithms, germany, high-school, niedersachsen
License
GPL-3.0
Install
pip install cs-nds==0.1.0

Documentation

Computer Science Niedersachsen

This Library contains often used methods and classes for Computer Science classes in Niedersachsen (Lower Saxony), Germany.

The initial and main reason for creation of this library is an implementation of the Stack and Queue classes, which differ from the Python implementation.

Disclaimer: Although I try to give my best to provide a useful tool, I cannot guarantee it always working correctly and being up-to-date with the latest specifications.

If you encounter a problem, please open an issue.

Installation

This package is available over pip:

pip install cs-nds

To use it in your code, just import it:

import cs_nds

my_queue = cs_nds.Queue()
my_queue.enqueue(3)

# ...

Data Structures

  • Stack ("Stapel" / stack)
  • Queue ("(Warte-)Schlange" / queue)
  • DynArray ("Dynamische Reihung" / dynamic array)
  • BinTree ("Binärbaum" / binary tree)