Skip to content

This repository serves as a personal archive of my progress and learning journey through solving algorithmic and data structure problems on LeetCode.

Notifications You must be signed in to change notification settings

ZaneBrackley/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions 📚

Welcome to my LeetCode Solutions repository! Here, I store my solutions to various LeetCode problems using the LeetHub v2 Chrome extension, which automatically syncs my submissions to GitHub.

🚀 About

This repository serves as a personal archive of my progress and learning journey through solving algorithmic and data structure problems on LeetCode.

🏗 Structure

LeetHub v2 organizes solutions in the following format:

📂 LeetCode-Solutions
 ┣ 📂 problem-name
 ┃ ┣ 📜 solution.extension  (e.g., solution.py, solution.java)
 ┃ ┣ 📜 README.md  (auto-generated problem description)
 ┗ 📜 README.md

Each solution includes:

  • Problem description (auto-generated by LeetHub)
  • Code implementation
  • Time and space complexity analysis

LeetCode Topics

Array

0004-median-of-two-sorted-arrays
0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0066-plus-one
0068-text-justification
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0198-house-robber
0209-minimum-size-subarray-sum
0213-house-robber-ii
0228-summary-ranges
0238-product-of-array-except-self
0274-h-index
0289-game-of-life
0322-coin-change
0407-trapping-rain-water-ii

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0042-trapping-rain-water
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0125-valid-palindrome
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array

Sorting

0088-merge-sorted-array
0169-majority-element
0242-valid-anagram
0274-h-index

String

0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0068-text-justification
0125-valid-palindrome
0151-reverse-words-in-a-string
0242-valid-anagram
0273-integer-to-english-words
0290-word-pattern

Math

0012-integer-to-roman
0013-roman-to-integer
0066-plus-one
0189-rotate-array
0273-integer-to-english-words

Hash Table

0012-integer-to-roman
0013-roman-to-integer
0073-set-matrix-zeroes
0169-majority-element
0242-valid-anagram
0290-word-pattern

Divide and Conquer

0004-median-of-two-sorted-arrays
0023-merge-k-sorted-lists
0169-majority-element

Counting

0169-majority-element

Dynamic Programming

0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0124-binary-tree-maximum-path-sum
0198-house-robber
0213-house-robber-ii
0322-coin-change
0337-house-robber-iii

Tree

0124-binary-tree-maximum-path-sum
0226-invert-binary-tree
0337-house-robber-iii

Depth-First Search

0124-binary-tree-maximum-path-sum
0226-invert-binary-tree
0337-house-robber-iii

Binary Tree

0124-binary-tree-maximum-path-sum
0226-invert-binary-tree
0337-house-robber-iii

Breadth-First Search

0226-invert-binary-tree
0322-coin-change
0407-trapping-rain-water-ii

Binary Search

0004-median-of-two-sorted-arrays
0074-search-a-2d-matrix
0167-two-sum-ii-input-array-is-sorted
0209-minimum-size-subarray-sum

Matrix

0073-set-matrix-zeroes
0074-search-a-2d-matrix
0289-game-of-life
0407-trapping-rain-water-ii

Stack

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Heap (Priority Queue)

0023-merge-k-sorted-lists
0407-trapping-rain-water-ii

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Recursion

0273-integer-to-english-words

Simulation

0068-text-justification
0289-game-of-life

Database

0175-combine-two-tables
0577-employee-bonus

Greedy

0045-jump-game-ii
0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii

Sliding Window

0209-minimum-size-subarray-sum

Prefix Sum

0209-minimum-size-subarray-sum
0238-product-of-array-except-self

Counting Sort

0274-h-index

Linked List

0023-merge-k-sorted-lists

Merge Sort

0023-merge-k-sorted-lists

Trie

0014-longest-common-prefix

About

This repository serves as a personal archive of my progress and learning journey through solving algorithmic and data structure problems on LeetCode.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published