Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

kika1s1/Leetcode-Questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions

This directory contains my personal solutions to LeetCode problems, organized by problem ID and by date of completion. Each subfolder is named using the LeetCode problem number and title (e.g., 0009-palindrome-number), or by the date on which I tackled a batch of problems (e.g., 01-May-2024).

📂 Directory Structure

Each problem folder typically contains:

  • A brief problem description or README (if needed).
  • One or more solution files (.py.cpp.java, etc.).
  • Test cases or example inputs/outputs.

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/Leetcode-Questions.git
    cd Leetcode-Questions/leetcode
  2. Navigate to any problem directory, for example:

    cd 0009-palindrome-number
  3. Run or compile the solution:

    • Python
      python solution.py
    • C++
      g++ solution.cpp -o solution; .\solution
    • Java
      javac Solution.java; java Solution
  4. Review existing test cases or add your own within the same folder.

🛠️ Technologies

  • Languages: Python, C++, Java, …
  • IDE: Visual Studio Code
  • Testing: Built‑in unit tests or custom scripts per problem.

🤝 Contributing

Contributions are welcome! To add or improve a solution:

  1. Fork the repository.
  2. Create a branch:
    git checkout -b add-0151-reverse-words
  3. Add your solution folder or update files.
  4. Commit and push:
    git add .
    git commit -m "Add solution for problem 0151: Reverse Words in a String"
    git push origin add-0151-reverse-words
  5. Open a Pull Request.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages