Skip to content

Aman-Ptl/My-Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Topics

LeetCode Solutions (via LeetHub)

This repository contains my LeetCode problem-solving journey, automatically synced
It showcases my daily practice, coding consistency, and solutions to problems across Data Structures & Algorithms.


Repository Structure

  • Each file corresponds to a LeetCode problem.
  • Code is pushed automatically whenever I submit a solution on LeetCode.
  • Languages used: C++ / Python / JavaScript (depending on problem).

Progress Tracking

  • Total Problems Solved: 🚧 (auto-updated as I practice)
  • Covers topics like:
    • Arrays
    • Strings
    • Hashing
    • Linked Lists
    • Trees
    • Graphs
    • Dynamic Programming
    • And more...

Why This Repo?

  • To keep track of my problem-solving journey.
  • To improve DSA & coding interview preparation.
  • To showcase consistency and hands-on practice.

Note

These solutions are auto-uploaded via LeetHub.
The main goal is to track my progress — not to provide editorial-quality code.
For interview prep, focus on the approach and logic.

⭐ If you find this helpful, give it a star and follow my journey.

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0016-3sum-closest
0031-next-permutation
0036-valid-sudoku
0042-trapping-rain-water
0048-rotate-image
0049-group-anagrams
0054-spiral-matrix
0057-insert-interval
0059-spiral-matrix-ii
0075-sort-colors
0167-two-sum-ii-input-array-is-sorted
0219-contains-duplicate-ii
0334-increasing-triplet-subsequence
0452-minimum-number-of-arrows-to-burst-balloons
0498-diagonal-traverse
0523-continuous-subarray-sum
0605-can-place-flowers
0645-set-mismatch
0724-find-pivot-index
0777-toeplitz-matrix
0864-image-overlap
0898-transpose-matrix
0945-snakes-and-ladders
0954-maximum-sum-circular-subarray
0971-shortest-bridge
1016-subarray-sums-divisible-by-k
1018-largest-perimeter-triangle
1027-sum-of-even-numbers-after-queries
1039-find-the-town-judge
1073-number-of-enclaves
1112-find-words-that-can-be-formed-by-characters
1253-sort-the-matrix-diagonally
1324-where-will-the-ball-fall
1380-number-of-closed-islands
1414-shortest-path-in-a-grid-with-obstacles-elimination
1447-jump-game-iv
1528-kids-with-the-greatest-number-of-candies
1547-destination-city
2042-maximum-product-difference-between-two-pairs
2117-find-original-array-from-doubled-array
2342-minimum-average-difference
2432-number-of-zero-filled-subarrays
2469-longest-subsequence-with-limited-sum

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0219-contains-duplicate-ii
0242-valid-anagram
0389-find-the-difference
0523-continuous-subarray-sum
0645-set-mismatch
1016-subarray-sums-divisible-by-k
1039-find-the-town-judge
1112-find-words-that-can-be-formed-by-characters
1447-jump-game-iv
1547-destination-city
2117-find-original-array-from-doubled-array

Two Pointers

0011-container-with-most-water
0015-3sum
0016-3sum-closest
0031-next-permutation
0042-trapping-rain-water
0075-sort-colors
0167-two-sum-ii-input-array-is-sorted
0344-reverse-string

Binary Search

0167-two-sum-ii-input-array-is-sorted
0352-data-stream-as-disjoint-intervals
2469-longest-subsequence-with-limited-sum

Sorting

0015-3sum
0016-3sum-closest
0049-group-anagrams
0075-sort-colors
0242-valid-anagram
0389-find-the-difference
0452-minimum-number-of-arrows-to-burst-balloons
0645-set-mismatch
1018-largest-perimeter-triangle
1253-sort-the-matrix-diagonally
2042-maximum-product-difference-between-two-pairs
2117-find-original-array-from-doubled-array
2469-longest-subsequence-with-limited-sum

Dynamic Programming

0042-trapping-rain-water
0954-maximum-sum-circular-subarray

Stack

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Math

0048-rotate-image
0523-continuous-subarray-sum
1018-largest-perimeter-triangle
1806-count-of-matches-in-tournament
2032-largest-odd-number-in-string
2432-number-of-zero-filled-subarrays

Matrix

0036-valid-sudoku
0048-rotate-image
0054-spiral-matrix
0059-spiral-matrix-ii
0498-diagonal-traverse
0777-toeplitz-matrix
0864-image-overlap
0898-transpose-matrix
0945-snakes-and-ladders
0971-shortest-bridge
1073-number-of-enclaves
1253-sort-the-matrix-diagonally
1324-where-will-the-ball-fall
1380-number-of-closed-islands
1414-shortest-path-in-a-grid-with-obstacles-elimination

Greedy

0011-container-with-most-water
0334-increasing-triplet-subsequence
0452-minimum-number-of-arrows-to-burst-balloons
0605-can-place-flowers
1018-largest-perimeter-triangle
2032-largest-odd-number-in-string
2117-find-original-array-from-doubled-array
2469-longest-subsequence-with-limited-sum

Simulation

0054-spiral-matrix
0059-spiral-matrix-ii
0498-diagonal-traverse
0898-transpose-matrix
1027-sum-of-even-numbers-after-queries
1324-where-will-the-ball-fall
1806-count-of-matches-in-tournament

String

0049-group-anagrams
0242-valid-anagram
0344-reverse-string
0389-find-the-difference
1112-find-words-that-can-be-formed-by-characters
1547-destination-city
2032-largest-odd-number-in-string
2346-largest-3-same-digit-number-in-string

Prefix Sum

0523-continuous-subarray-sum
0724-find-pivot-index
1016-subarray-sums-divisible-by-k
2342-minimum-average-difference
2469-longest-subsequence-with-limited-sum

Sliding Window

0219-contains-duplicate-ii

Bit Manipulation

0389-find-the-difference
0645-set-mismatch

Breadth-First Search

0945-snakes-and-ladders
0971-shortest-bridge
1073-number-of-enclaves
1380-number-of-closed-islands
1414-shortest-path-in-a-grid-with-obstacles-elimination
1447-jump-game-iv

Divide and Conquer

0954-maximum-sum-circular-subarray

Queue

0954-maximum-sum-circular-subarray

Monotonic Queue

0954-maximum-sum-circular-subarray

Graph

1039-find-the-town-judge

Design

0352-data-stream-as-disjoint-intervals

Ordered Set

0352-data-stream-as-disjoint-intervals

Depth-First Search

0971-shortest-bridge
1073-number-of-enclaves
1380-number-of-closed-islands

Union Find

1073-number-of-enclaves
1380-number-of-closed-islands

Counting

1112-find-words-that-can-be-formed-by-characters

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages