https://github.com/rainliu/leetcode
Leetcode in C++/Go/Rust
https://github.com/rainliu/leetcode
cpp go rust
Last synced: about 1 month ago
JSON representation
Leetcode in C++/Go/Rust
- Host: GitHub
- URL: https://github.com/rainliu/leetcode
- Owner: rainliu
- Created: 2015-02-14T23:06:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-15T20:40:00.000Z (almost 3 years ago)
- Last Synced: 2025-03-25T09:12:18.821Z (2 months ago)
- Topics: cpp, go, rust
- Language: C++
- Homepage:
- Size: 1.01 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
leetcode
========
Solutions of some Leetcode problems## How to run
For C++ solution:```bash
g++ -std=c++11 ./src/example/example.cpp -o example.execlang-cl ./src/example/example.cpp -o example.exe
```For C++ lint:
```bash
clang-tidy ./src/example/example.cpp -checks=*
```
For go solutin:
```bash
go run ./src/example/example.go
```