Coder Social home page Coder Social logo

leetcode10py's Introduction

LeetCode10Py

Life is short, use Python.

Intro

This project aims to finish LeetCode problems and high-frequency interview problems in 10 LINES OF Python programming language.

Why To Start

This project is not aiming to help you prepare an interview — We want to help you enhancing some Python skills quickly by showing that Python can finish your daily jobs in a faster, smarter, and neater way.

Why Python, Not C++

Some of the problems are designed to use C++ properly to get a good EXECUTION EFFICIENCY, while Python is a language of good CODING EFFICIENCY. We will mark these problems and will show PSEUDOCODE, written in Python, showing the spirit of C++ solution, although you may find a much more efficiency way by calling Python built-in APIs.

Why 10 Lines

10 line target is reachable ( import + function body ) 2. Code-line-KPI is SOOOOOO STUUUUPID. Just finish your job with fewer code as you can. It may reminds me that Steve Woz can earn more bucks by shortening the code of ATARI games, not by extending them.

Guidelines

Name your problems properly.

Using [OPEN—],[CLOSED] to show the status of problems.

You can simply : Add a OPEN problem, finish 1 to make it CLOSED, modify different versions of function it if you have better ideas.

Using LEET or INTV to show whether it’s a original Leetcode or Interview problem.

Finish your problems properly.

import + function body <= 10 lines of Python code.

Comment lines are not counted.

If you use ‘\’ to break 1 line into some, there would be only 1 line count

leetcode10py's People

Contributors

rascht avatar liujun0603 avatar bellumpara avatar kernel8liang avatar jackysc avatar sunyonggang avatar catalystfrank avatar wp-lai avatar thomaswu avatar hengrui avatar

Watchers

James Cloos avatar Terry Ou 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.