-
Notifications
You must be signed in to change notification settings - Fork 26
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
大家做的题该如何命名? #28
Comments
two-sum 这道题的编号是 1,则可以使用下面的格式: 格式2: 格式3: |
个人赞成格式2 |
格式2 |
仅供参照 ref to Play-Leetcode/main.cpp at master · liuyubobobo/Play-Leetcode |
如果想归类题目,可以参照这样子: |
关于分类,后面有规划 |
那采用这种格式吧: problems/0001-two-sum/main.cpp |
考虑到文件名 假设是 1049 题 problemset-new/010/1049-last-stone-weight-ii/1049-main.cpp |
目前,每道题的目录名是题目名,代码也是题目名。
例如:problems/two-sum/two-sum.cpp
我在想,要不要使用题号作为题的目录名。
The text was updated successfully, but these errors were encountered: