CW 16 — April 16th
Section outline
-
Prep
- until including Chapter 2.3
Agenda
- Aging research
- Harvard-Professor David Sinclair: Wie bleibt man für immer jung? - SZ Magazin
- sports and fasting good for cells
- he tries to revert aging with medicine
- in the future life sciences will be important, old age is classified as a disease, which should be fight against. This means drugs against aging will be allowed. (MG2A in ICD-11 —International classification of diseases 11th version by WHO which will be official in Jan. 2022)
- Do we a clock gene? (Chapter 2)
- Harvard-Professor David Sinclair: Wie bleibt man für immer jung? - SZ Magazin
- feedback
- grading
- final project
- based on e.g., implementing an algorithm described in a paper
- final project
- learning goals
- how to use the big-O notation and what is it good for?
- what are iterative and recursive functions?
- assignment feedback
- Big-O Notation
-
A function T(N) is O(F(N)) if for some constant c and for values of N greater than some value n0: T(N) <= c * F(N)
- how to determine complexities
-
- iterative vs recursive functions
- Hanoi Towers
- neighbors() function
- runtime differences
- one minute paper
-
- consider the following function
- input: array of integers
- output: minimum of these numbers
- input: array of integers
- write the pseudocode for your algorithm
- implement it in Python
- calculate the runtime
- best case
- worst case
- is your function iterative or recursive?
- how would you convert it to an iterative or recursive function?
- consider the following function
- until including Chapter 2.3