Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
JensLiebehenschel committed May 24, 2023
1 parent 8bf0552 commit 5cc87ce
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
35 changes: 27 additions & 8 deletions README.md
@@ -1,23 +1,42 @@
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/JensLiebehenschel/AlgDat/HEAD)
<-- click here to open the Jupyter notebooks without any installation in a web browser
**<-- click here to open the Jupyter notebooks without any installation in a web browser**

## AlgDat
Supplemental material for lecture Algorithms and Data Structures - not only at Frankfurt University of Applied Sciences

This repository provides Jupyter notebooks with the implementation of basic algorithms and data structures.
You can play around with the code in many ways.
The intention is to deepen the undestanding by adapting and running the code.
The intention is to deepen the undestanding by adapting and running the code.
We use simple [naming conventions](namingConventions.md) here.

For more details please look into [the FAQs](FAQs.md).
For a motivation what kind of information the notebooks provide, see some examples below.

## Important points when working with Jupiter Notebooks
* For execution of the complete code in a notebook click on "Kernel", then on "Restart & Run All"
* Before running parts of a notebook (e.g. after you changed something), you first need to execute the complete code
* At the end of your experiments click on "File", then on "Close and Halt"
* Note that you cannot save your work such that it is available when you launch the binder next time.
* But there are different possibilities, for example:
## Important points when working with Jupyter Notebooks
* To open a notebook just double click it in the file explorer on the left hand side.
* Before running parts of a notebook (e.g. after you changed something), you first need to execute the complete code.
* For execution of the complete code in a notebook click on "Kernel", then on "Restart Kernel and Run All Cells ...".
* To close a notebook click on "File", then on "Close and Shutdown Notebook".
* At the end of your experiments click on "File", then on "Shutdown".
* Note that you cannot save your work such that it is available when you launch the binder next time.
* But there are different possibilities, see "File" menu, for example:
* Work locally on your computer or in a repository you own. You need appropriate software installed on your computer.
* Save the files to browser cache and restore them later. There are two buttons in Jupyter notebook.
* Find the right way for you to work with this code and consider the respective documentation for it.

## Have fun using it!

Here are some pictures to get an idea of what can be done with the notebooks.
The pictures contain explanatory text and in the queue example the words "head" and "tail" were added for a better understanding.
In the notebooks, this information is visible in the code.

![bubblesort](Pictures/bubblesort.png)


![mergesort](Pictures/mergesort.png)


![queue](Pictures/queue.png)

## Thanks
Many thanks to Edward Späth for extending this repository. Several new algorithms (on non-linear data) had been added. Very good job!
1 change: 1 addition & 0 deletions requirements.txt
@@ -1,2 +1,3 @@
numpy
matplotlib
graphviz

0 comments on commit 5cc87ce

Please sign in to comment.