This repository contains solutions to LeetCode problems in multiple programming languages. Each subfolder corresponds to a specific language and contains solutions implemented in that language.
C/— Solutions in CCPlusPlus/— Solutions in C++Java/— Solutions in JavaJavaScript/— Solutions in JavaScriptKotlin/— Solutions in KotlinPython/— Solutions in PythonRust/— Solutions in RustSwift/— Solutions in SwiftTypeScript/— Solutions in TypeScript
Each language folder contains files named after the LeetCode problem, typically in the format <problem_number>.<problem-title>.<extension>, e.g., 1.two-sum.cpp.
- Browse to the folder of your preferred programming language.
- Find the solution file for the problem you are interested in.
- Each file contains a self-contained solution to the corresponding LeetCode problem.
Feel free to contribute by submitting pull requests with solutions in any language or by improving existing solutions.
This repository is for educational purposes.