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

https://github.com/prince-mendiratta/cpp-leetcode


https://github.com/prince-mendiratta/cpp-leetcode

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

This is a respository that stores solved LeetCode questions for C++. I'd probably not touch this repository again once my enthusiasm for this dies :P

The directories structure is of the format -
```bash
.
├── {Subdomain}
│ └── {Question Number}.{Title}.cpp
| └── tests.cpp
└── README.md
```
Difficulty - Ez / Med / Hard
If the difficulty is not there, it means Ez.

Each file has the question as a comment on the top.
The file may or may not have an explanation for any solution.
There may or may not be an elegant solution alongside bruteforce approach.

Since I personally prefer using neovim and leetcode doesn't have the auto completion abilities for free accounts, I use this amazing [CLI](https://github.com/skygragon/leetcode-cli/) tool for generating the leetcode templates and testing locally.