2 Star 10 Fork 2

安正勋/myleetcode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CONTRIBUTING.md 1.06 KB
一键复制 编辑 原始数据 按行查看 历史

Welcome! Thank you for contributing to myleetcode!

We follow the standard GitHub fork & pull approach to pull requests.

This project now provides a LeetCode solution in two languages, and you can provide another language solution for LeetCode if you like. But to maintain a good style, your code must meet the requirements of this project.

Package Path

Now myleetcode project structure is:

  • myleetcode:
    • codes
    • images
    • .gitignore
    • .travis.yml
    • CONTRIBUTING.md
    • LICENSE
    • README.md
    • _config.yml

All solutions of LeetCode, must be created in package of codes.

Code style

Java

  • Class Name: Start with _, then spell problem number of LeetCode.
  • Method Name: Initial in lowercase, then follow hump format.

Python

  • Class Name: Start with _, then spell problem number of LeetCode.
  • Method Name: Initial in lowercase, then spell with _, if method name have more than one word.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/guobinhit/myleetcode.git
git@gitee.com:guobinhit/myleetcode.git
guobinhit
myleetcode
myleetcode
master

搜索帮助