Recursion For Programmers

所在平台: Udemy

课程主页: https://www.udemy.com/course/recursion-for-programmers/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**Coursera 课程总结:程序员的递归** 这是一门面向有编程基础(至少掌握一门主流编程语言)的程序员的进阶课程,旨在深入讲解递归这一强大的编程技巧。课程不针对特定语言,通过 C、Ruby 和 C# 等语言的示例程序,帮助学员理解递归的原理和应用。 **课程内容涵盖:** * **递归基础:** 什么是递归,递归函数的返回值,栈与栈帧的概念。 * **递归的实践:** 变量作用域在递归函数中的表现,如何调试递归函数。 * **递归与迭代的对比:** 比较两种解决问题方法的优劣。 * **递归的常见问题与规避:** 栈溢出(Stack Corruption)和无限递归的成因及避免方法。 * **递归的应用实例:** * 计算斐波那契数列。 * 处理类继承体系(Class Hierarchy)。 * 遍历树形结构(Trees)。 * 递归地导航文件子目录。 **学习目标:** 学员将能够理解递归的核心概念,掌握编写递归函数的方法,并能将其应用于解决复杂的数据结构和算法问题,无论使用何种编程语言(如 C、C#、Java、JavaScript、Python 等)。

课程评论(0条)

课程详情

Recursion is a powerful programming technique. A function that calls itself recursively not only saves programming effort and avoids repetition but it can also be used to navigate complex structures such as Trees and Class Hierarchies.This is an intermediate-to-advanced level course. It is aimed at programmers who can already program confidently in one or more programming languages. It is not appropriate for beginners.The courses includes numerous short sample programs to show how recursion works. There are samples written in C, Ruby and C#. However, you don't need to program in those languages to follow this course. Recursion works the same way in all mainstream programming languages. This course explains the theory and the practice of recursion. You can use the techniques that are taught to write recursive functions in whichever language you prefer: C, C#, Java, JavaScript, Python, Basic, Pascal and others. The course is not about any specific language. This is what you will learn…What is recursion?How variables are scoped in recursive functionsHow recursive functions return valuesThe Stack and Stack FramesDebugging recursive functionsRecursion v IterationStack Corruption, and how to avoid itInfinite Recursion, and how to avoid itRecursing Fibonacci NumbersRecursing a Class HierarchyTrees and recursionNavigating subdirectories recursivelyCode samples provided in C, Java, Ruby...

课程标签

0人关注该课程

主题相关的课程