I recently started a course on the C language as a way to get a good fundamental understanding of programming. I reached a part in the course where it describes an algorithm