-
Notifications
You must be signed in to change notification settings - Fork 14.8k
add php code #1826
New issue
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
base: main
Are you sure you want to change the base?
add php code #1826
Conversation
|
|
||
| class Recursion | ||
| { | ||
| // 递归 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* 递归*/
Please use /* */ for all the heading comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经调整
| return $root; | ||
| } | ||
|
|
||
| // Driver Code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经调整
|
以上,在新的提交中,已经修正 |
|
|
||
| namespace chapter_computational_complexity; | ||
| class SpaceComplexity | ||
| class space_complexity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use CamelCase for class names in PHP. Same as all other class names.
Please carefully check the code and ensure that the code follows the coding standard of PHP.
进度:第二章 复杂度分析 增加PHP 代码示例