Skip to content
LeetCode

LeetCode Solutions

💡 Solutions to LeetCode in C++20, Java, Python, MySQL, and TypeScript. This repository aims to provide code with good readability and consistent style over various topics and embraces new standards.

Solved Percentage
Easy AC Count Medium AC Count Hard AC Count

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 PEP 8 – Style Guide for Python Code 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.

License

Licensed under the MIT License, Copyright © 2019-2024 P.-Y. Chen.

Assembled with ❤️ in New York.