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

https://github.com/mnikander/leetcode_cpp

Practice different programming styles in C++ on leetcode exercises
https://github.com/mnikander/leetcode_cpp

Last synced: 11 months ago
JSON representation

Practice different programming styles in C++ on leetcode exercises

Awesome Lists containing this project

README

          

# leetcode in C++

## Getting started

1. Install dependencies
```bash
sudo apt install g++ cmake libgtest-dev
```

2. Clone the repo
```bash
git clone #...
cd #... navigate into the freshly cloned repo
```

3. Build and run:
```bash
mkdir out && cd out && cmake .. && cd .. # out-of-source build
cmake --build out/ && ./out/unit_tests
```