Skip to content
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

力扣加加题解要求 #369

Closed
azl397985856 opened this issue May 21, 2020 · 2 comments
Closed

力扣加加题解要求 #369

azl397985856 opened this issue May 21, 2020 · 2 comments
Labels

Comments

@azl397985856
Copy link
Owner

azl397985856 commented May 21, 2020

质量要求

单题

  • 格式

包含题目描述,前置知识,思路,代码以及复杂度说明,另外还可以包含其他内容,比如扩展,相关题目等。

  • 内容

思路上要循序渐进,要让完全不明白的小白看懂。也就是说小白拥有了你的前置知识就可以看懂这道题,并能够将本题思路运用到其他相似题目。

加分:

  1. 尽量用图片来辅助表达,如有必要,可以采用动图的形式。
  2. 多语言。 使用多种编程语言
  • 算法
  1. 尽量采用多种算法,尤其是其他人(比如题解区)有更好的解法的情况。
  2. 算法之前要有递进关系,从简单到困难。从符合直觉到最优。
  3. 提供的算法中至少有一个最优解
  • 代码
  1. 代码经过格式化
  2. 命名合适,且统一
  3. 尽量精简,没有冗余代码

参考:https://leetcode-cn.com/problems/integer-break/solution/ba-yi-ba-zhe-chong-ti-de-wai-tao-343-zheng-shu-cha/

专题

  • 至少两道题
  • 专题不是题目的堆砌。 你心中一定要明白一点“你要让读者知道什么”,题目只是帮助你实现这个目标的手段而已。
  • 尽量提供专题的解题模板。如果没有至少提供一个总体思路。 模板包含两个方面,第一是伪代码(中文英文写都可以),第二是真实代码(尽量多语言)
  • 如果专题内容不单一。 要对这个专题的题型进行一个明确的分类

参考: https://github.com/azl397985856/leetcode/blob/master/thinkings/slide-window.md

@stale
Copy link

stale bot commented Jul 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 20, 2020
@stale stale bot closed this as completed Jul 27, 2020
@azl397985856 azl397985856 removed the stale label Jan 4, 2021
@azl397985856 azl397985856 reopened this Jan 4, 2021
@stale
Copy link

stale bot commented Mar 5, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 5, 2021
@stale stale bot closed this as completed Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant