Skip to content

Conversation

@piaohan
Copy link

@piaohan piaohan commented Nov 7, 2025

进度:第二章 复杂度分析 增加PHP 代码示例


class Recursion
{
// 递归
Copy link
Owner

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经调整

return $root;
}

// Driver Code
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经调整

@piaohan
Copy link
Author

piaohan commented Nov 19, 2025

以上,在新的提交中,已经修正


namespace chapter_computational_complexity;
class SpaceComplexity
class space_complexity
Copy link
Owner

@krahets krahets Nov 19, 2025

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.

@krahets krahets added the code Code-related label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Code-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants