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.
See the built page here: LeetCode Solutions.
Coding Style and Naming
Please see the style guide.
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
PEP 8 -- Style Guide for Python Code
except passing the argument
--indent-size=2for a better viewing experience in mobile devices.
This website went live on February 23, 2019.
Licensed under the MIT License, Copyright © 2019-2023 P.-Y. Chen.