Skip to content

GokulakrishnanSivalingam/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions 🚀

LeetCode Badge Java Badge License

A repository of my curated and optimized Java solutions to LeetCode problems.
Dive into patterns, algorithms, time-space complexity, and clean code snippets. 👨‍💻


📊 LeetCode Stats

LeetCode Stats


💡 Introduction

This repository contains my Java-based solutions to LeetCode problems. Each solution provides:

  • 🧠 Problem Statement (Linked to LeetCode)
  • 💻 Java Implementation (Structured & Commented)
  • 📉 Time & Space Complexity
  • 🧩 Topic Tags (e.g., Arrays, Graphs, Trees)

📚 Solutions Overview

📑 Topic-Wise Breakdown

🧠 Topic ✅ Problems
📦 Arrays 80+
🔗 Linked List 15+
🌳 Trees 10+
🌐 Graphs 5
🧮 Others (Strings, DP…) 50+
🧾 Total 186

🤝 Contributing

Contributions are welcome! ✨
Help make this repository even better by adding more optimized or alternative solutions.

📝 To Add a New Solution:

  1. Fork this repository.

  2. Clone your forked repo to your local machine:

    git clone https://github.com/GokulakrishnanSivalingam/leetcode.git
    

📊 Topic Distribution

Bar Chart

⚙️ How to Use

# Clone the repo
git clone https://github.com/GokulakrishnanSivalingam/leetcode.git
cd leetcode

# Compile and run a file
javac TwoSum.java
java TwoSum

License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2025 Gokulakrishnan  S

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

About

Hello everyone , Here is my all Leetcode problem

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages