Skip to content

dhanesh24g/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧩 LeetCode Solutions

This repository contains my solutions to a variety of LeetCode problems, organized by patterns and difficulty levels. The goal of this repo is to document my problem-solving journey, keep track of techniques I’ve learned, and build a resource for revisiting important coding concepts.


📂 Repository Structure

  • leetcode_problems/ → Direct solutions to problems by number/name.
  • patterns/ → Grouped problems based on recurring problem-solving patterns (e.g., sliding window, dynamic programming, two-pointer, graph traversal).
  • practice_problems/ → Extra practice and variations to strengthen problem-solving.

🛠️ Languages & Tools

  • Python 3 (primary language)
  • Standard libraries: collections, heapq, itertools, bisect, etc.

✨ Features

  • Pattern-based learning → Problems grouped to identify reusable techniques.
  • Readable code → Clean Pythonic implementations with comments.
  • Complexity analysis → Where possible, solutions include time and space complexity.
  • Scalability mindset → Focus on writing efficient code for large inputs.

🔑 Key Topics Covered

  • Arrays & Strings
  • Hashing & Dictionaries
  • Two Pointers & Sliding Window
  • Binary Trees & Graphs
  • Dynamic Programming
  • Recursion & Backtracking
  • Stacks & Queues
  • Heaps / Priority Queues
  • Greedy Algorithms
  • Sorting & Searching

🚀 How to Use

Clone the repository and explore solutions:

git clone https://github.com/dhanesh24g/leetcode.git
cd leetcode

Each file corresponds to a problem, with the filename indicating the problem title or number.


📈 Why this Repo?

This repo reflects my coding interview preparation and algorithm practice journey. It showcases:

  • My approach to problem-solving.
  • Clean, reusable code structures.
  • Ability to think in patterns — critical for interviews and system design discussions.

🌟 Future Improvements

  • Add unit tests for selected problems.
  • Provide explanations / markdown notes alongside solutions for tougher problems.
  • Add C++/Java variants for some problems.

📬 Connect with Me

If you’re also preparing for interviews or exploring algorithms, feel free to connect!


💡 This repo is part of my continuous journey toward becoming a stronger AI/ML & Staff Software Engineer, combining algorithm practice with projects in GenAI, RAG, and AIOps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages