We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本周做题时,脑子里响起最多的声音竟然是“又忘了判断边界条件”。
在工作中很少写递归的代码。一是因为写起来可能不好写,二是因为别人读起来可能也不好读,三是觉得递归的方法会比较占用栈空间。
但是对于刷题来讲,总不写就会手生。把“下面的递归调用的结果作为此次的一个操作对象”的意识找了好久才找回来。
The text was updated successfully, but these errors were encountered:
加油,没有边界条件程序怎么退出呢,可以采用数学归纳法即可,不是一般性
Sorry, something went wrong.
No branches or pull requests
本周做题时,脑子里响起最多的声音竟然是“又忘了判断边界条件”。
在工作中很少写递归的代码。一是因为写起来可能不好写,二是因为别人读起来可能也不好读,三是觉得递归的方法会比较占用栈空间。
但是对于刷题来讲,总不写就会手生。把“下面的递归调用的结果作为此次的一个操作对象”的意识找了好久才找回来。
The text was updated successfully, but these errors were encountered: