From 5cc87cea7327761b466306648048ae7b1baa02eb Mon Sep 17 00:00:00 2001 From: JensLiebehenschel <45462342+JensLiebehenschel@users.noreply.github.com> Date: Wed, 24 May 2023 20:56:02 +0200 Subject: [PATCH] Add files via upload --- README.md | 35 +++++++++++++++++++++++++++-------- requirements.txt | 1 + 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 872d3b9..cce631f 100644 --- a/README.md +++ b/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! diff --git a/requirements.txt b/requirements.txt index aa094d9..0bee7dc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ numpy matplotlib +graphviz