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
- Host: GitHub
- URL: https://github.com/mnikander/leetcode_cpp
- Owner: mnikander
- License: mit
- Created: 2025-07-01T10:08:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-01T11:01:20.000Z (about 1 year ago)
- Last Synced: 2025-07-01T11:27:59.031Z (about 1 year ago)
- Language: C++
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```