Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mythkiven/leetcode

LeetCode solutions in Java、JavaScript、C and Python3
https://github.com/mythkiven/leetcode

leetcode leetcode-c leetcode-java leetcode-javascript leetcode-python

Last synced: about 1 month ago
JSON representation

LeetCode solutions in Java、JavaScript、C and Python3

Awesome Lists containing this project

README

        

![](https://img.shields.io/badge/leetcode-Python-green.svg) ![](https://img.shields.io/badge/leetcode-C-red.svg) ![](https://img.shields.io/badge/leetcode-Java-blue.svg) ![](https://img.shields.io/badge/leetcode-JavaScript-success.svg)

LeetCode
========

单个文件编译运行方法:

```
以 000.TwoSum 为例:
solution.c
cd ./000.TwoSum/ && gcc Solution.c -o Solution && ./Solution
solution.py
cd ./000.TwoSum/ && py3 Solution.py
solution.java
cd ./000.TwoSum/ && javac Solution.java && java Solution
solution.js
cd ./000.TwoSum/ && node Solution.js
或者使用vscode
```

LeetCode solutions in Python3、C、Java and JavaScript

|NO.|Title|Solution|Difficulty|
|---|-----|--------|--------|
|000|[Two Sum](https://leetcode.com/problems/two-sum)|[python](000.TwoSum/Solution.py)、[c](000.TwoSum/Solution.c)、[java](000.TwoSum/Solution.java)、[JavaScript](000.TwoSum/Solution.js)|Easy

* * *
- - -

公众号:
![](https://github.com/mythkiven/tmp/raw/master/resource/img/wechat/%E5%85%AC%E4%BC%97%E5%8F%B7.png)

QQ交流群:
![](https://github.com/mythkiven/tmp/raw/master/resource/img/wechat/qq%E7%BE%A4.jpg)

小程序:
![](https://github.com/mythkiven/tmp/raw/master/resource/img/wechat/%E5%AE%9E%E7%94%A8%E6%80%A7%E5%B0%8F%E5%B7%A5%E5%85%B7.png)

博客:http://3code.info/