Code Monkey home page Code Monkey logo

leetcode's Introduction

代码准入规范

1.更优的代码定义:

时间更优 > 空间更优 > 简单优雅(变量更少,更清晰可读)

2.文件命名规范

文件名命名规范如: lc_题号.cpp, lc_题号.java,lc_题号.py,lc_题号.go 不同语言用不同后缀区分 每种语言都有一个最优的版本

3.首版代码准入规范

由于leetcode击败比例判题的不可控制性,首版提交的代码不再要求击败80%,只要保证时间复杂度和最优解法在同一个时间复杂度即可,但是题目注释必须清楚,代码复制到相关题目下可运行

leetcode's People

Contributors

lizhenhua0202 avatar qscool avatar qscool1987 avatar ruinenstadt9029 avatar slluosali avatar yunjialiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.