Skip to content
LeetCode

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.

LeetCode Progress
Easy Medium Hard

C++ Java Python
TypeScript MySQL

Tip: How to find solutions?

Use the search bar on the top navbar to search for solutions by number or title.

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.