Files
leetcode/README.md

26 KiB

LeetCode Solutions

This repository contains my solutions to various LeetCode problems. Each solution is implemented in Python and follows a consistent structure.

📊 Statistics

  • Total Problems Solved: 90+
  • Languages: Python, TypeScript
  • Difficulty Distribution: Easy, Medium, Hard

📁 Solutions Index

🔢 Arrays & Strings

Easy

Medium

🔗 Linked Lists

🌳 Trees & Graphs

🧮 Dynamic Programming

🎯 Two Pointers

🗃️ Hash Tables

📚 Stacks & Queues

🔄 Backtracking

🎲 Greedy

🔢 Math

🧮 Bit Manipulation

🏗️ Design

🔗 Union Find

📊 Sorting

🔄 Recursion

🎯 Sliding Window

📐 Geometry

🔍 Divide and Conquer

📝 String Manipulation

📊 Matrix

🔢 Counting

📈 Progress Tracking

Difficulty Distribution

  • Easy: ~40 problems
  • Medium: ~45 problems
  • Hard: ~5 problems

Top Problem Types

  1. Arrays & Strings - Most common
  2. Hash Tables - Frequently used technique
  3. Two Pointers - Efficient array manipulation
  4. Binary Search - Optimization problems
  5. Dynamic Programming - Complex problem solving

🛠️ Solution Structure

Each solution follows a consistent structure:

  • Standard library imports
  • Type hints for better code clarity
  • Solution class with required method
  • Clean, readable implementation
  • Proper comments and documentation

🎯 Learning Focus Areas

Based on the solutions, key areas of expertise include:

  • Array manipulation and two-pointer techniques
  • Hash table optimization for lookups
  • Binary search for efficient searching
  • Dynamic programming for complex problems
  • String manipulation and palindrome problems
  • Linked list operations and cycle detection

📚 Resources


This index is automatically generated and organized by problem categories and difficulty levels. Each solution includes the relevant tags and techniques used.