Skip to content

SleepyBag/leetcode-python-in-one-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode in One Line with Python

I want to solve Leetcode problems in one line with python. That’s it.

Restrictions

  • One line means “one expression”, which means I’m not going to use “;” combining multiple lines into one.
  • “exec” is not allowed so that I can’t pack multiple expressions into an “exec” call.

If you have a solution better than mine, please feel free to report an issue, or start a PR.

About

I want to solve Leetcode questions in one line with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages