LeetCode Solutions
💡 Solutions to LeetCode in C++23, Java, Python, MySQL, and TypeScript. 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
| Language | Formatter | Style Guide | Configuration |
|---|---|---|---|
| C++ | ClangFormat | Google C++ Style Guide | .clang-format |
| Java | ClangFormat | Google Java Style Guide | .clang-format |
| Python | autopep8 |
Google Python Style Guide | Passing --indent-size=2 for a better viewing experience in mobile devices. |
| TypeScript | Prettier | Google TypeScript Style Guide | .prettierrc |
| MySQL | N/A | N/A | N/A |
Fun Facts
This website went live on February 23, 2019.
Contributing
This repository is a personal project and does not accept pull requests to maintain consistency in coding style and solutions. However, feel free to fork the repository and modify it as needed!
License
Licensed under the MIT License, Copyright © 2019-2025 P.-Y. Chen.
Assembled with ❤️ in New York.
