posepr-c-2ihif-24-25-assignments-11-recursion-algos-11-Recursion_1 created by GitHub Classroom
Find a file
2025-01-10 23:29:50 +01:00
.vscode implement recursive and iterative functions for sum of digits; update VSCode settings 2025-01-10 23:05:05 +01:00
.gitignore add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
count_char.c fix: change pointer type to const in recursive character count function 2025-01-10 23:29:50 +01:00
count_char.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
main_driver.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
makefile add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
Readme.md add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
reverse_string.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
reverse_string.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
shortcut.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
shortcut.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
sum_of_digits.c implement recursive and iterative functions for sum of digits; update VSCode settings 2025-01-10 23:05:05 +01:00
sum_of_digits.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_count_char.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_count_char.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_driver.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_reverse_string.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_reverse_string.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_sum_of_digits.c add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00
test_sum_of_digits.h add initial configuration and update author information in header files 2025-01-10 22:59:38 +01:00

Review Assignment Due Date

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
  2. count_char.c
  3. 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