27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
[](https://classroom.github.com/a/Xg4myi8f)
|
|
## IF.03.22 POSE - Procedural Programming
|
|
|
|
# Assignment: Recursive vs. Iterative Algorithms
|
|
|
|
The assignment focusing on various problems that can be solved with an recursive as well as with an iterative algorithm.
|
|
|
|
## Tasks
|
|
|
|
Implement the algorithms of the problems defined in the following files:
|
|
|
|
1. sum_of_digits.c
|
|
1. count_char.c
|
|
1. reverse_string.c
|
|
|
|
Each problem shall be implemented using an recursive as well as an iterative algorithm. The functions are suffixed with '_recursive' and '_iterative' accordingly.
|
|
|
|
The detailed description can be found in the file header.
|
|
|
|
> Note: The corresponding header files are basically complete and
|
|
> do not need to be changed, except of entering your name.
|
|
|
|
## Expected result:
|
|
|
|
* All unit tests are passed
|
|
* Code is clean and follows coding guidelines
|
|
* Commit at least after implementing each single function
|