Comments (8)
two-sum 这道题的编号是 1,则可以使用下面的格式:
格式1:
problems/two-sum/1.cpp
problems/two-sun/tiankonguse-1.cpp
格式2:
problems/1/two-sum.cpp
problems/1/tiankonguse-two-sum.cpp
格式3:
problems/1/1.cpp
problems/1/tiankonguse-1.cpp
from leetcode-solutions.
个人赞成格式2
from leetcode-solutions.
格式2
from leetcode-solutions.
仅供参照
格式:
problems/0001-two-sum/tiankonguse-cpp-0001/main.cpp
ref to Play-Leetcode/main.cpp at master · liuyubobobo/Play-Leetcode
from leetcode-solutions.
如果想归类题目,可以参照这样子:
algo/c-cpp at master · wangzheng0822/algo
from leetcode-solutions.
如果想归类题目,可以参照这样子:
algo/c-cpp at master · wangzheng0822/algo
关于分类,后面有规划
from leetcode-solutions.
仅供参照
格式:
problems/0001-two-sum/tiankonguse-cpp-0001/main.cppref to Play-Leetcode/main.cpp at master · liuyubobobo/Play-Leetcode
那采用这种格式吧:
problems/0001-two-sum/main.cpp
problems/0001-two-sum/tiankonguse.cpp
problems/0001-two-sum/tiankonguse-dfs.cpp
problems/0001-two-sum/tiankonguse-dp.cpp
problems/0001-two-sum/tiankonguse-dp2.cpp
from leetcode-solutions.
考虑到文件名
也需要起到是那道题的作用,这里采用这样的格式:
假设是 1049 题
problemset-new/010/1049-last-stone-weight-ii/1049-main.cpp
problemset-new/010/1049-last-stone-weight-ii/1049-tiankonguse.cpp
problemset-new/010/1049-last-stone-weight-ii/1049-tiankonguse-dfs.cpp
problemset-new/010/1049-last-stone-weight-ii/1049-tiankonguse-dp.cpp
problemset-new/010/1049-last-stone-weight-ii/1049-tiankonguse-dp2.cpp
from leetcode-solutions.
Related Issues (2)
- 大家做的题该如何分类管理? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leetcode-solutions.