LeetCode Solutionsπ‘ Solutions to LeetCode in C++17, Java, and Python. This repository aims to provide code with good readability and consistent style over various topics and embraces new standards.
Getting Started
See the built page here: LeetCode Solutions.
Coding Style and Naming
Please see the style guide.
Formatting
I believe messy code is costing you. Therefore, I format the code with the following formatters:
- C++ code is formatted by clang-format following the Google C++ Style Guide. You can see the configuration here.
- Java code is formatted by clang-format following the Google Java Style Guide.
- Python code is formatted by autopep8
following
PEP 8 -- Style Guide for Python Code
except passing the argument
--indent-size=2
for a better viewing experience in mobile devices.
Fun Facts
This website went live on February 23, 2019.
License
Licensed under the MIT License, Copyright Β© 2019-2023 P.-Y. Chen.