Skip to content

webcrafter011/My-Leetcode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My-Leetcode-Solutions

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Array

0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0215-kth-largest-element-in-an-array
0239-sliding-window-maximum
0493-reverse-pairs
0496-next-greater-element-i
0621-task-scheduler
0735-asteroid-collision
0792-binary-search
0876-hand-of-straights
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
1034-subarrays-with-k-different-integers
1046-max-consecutive-ones-iii
1256-rank-transform-of-an-array
1538-maximum-points-you-can-obtain-from-cards
2227-sum-of-subarray-ranges

Stack

0020-valid-parentheses
0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0155-min-stack
0496-next-greater-element-i
0735-asteroid-collision
0937-online-stock-span
2227-sum-of-subarray-ranges

Monotonic Stack

0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0496-next-greater-element-i
0937-online-stock-span
2227-sum-of-subarray-ranges

Queue

0239-sliding-window-maximum

Sliding Window

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0239-sliding-window-maximum
0424-longest-repeating-character-replacement
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
1034-subarrays-with-k-different-integers
1046-max-consecutive-ones-iii
1460-number-of-substrings-containing-all-three-characters
1538-maximum-points-you-can-obtain-from-cards

Heap (Priority Queue)

0023-merge-k-sorted-lists
0215-kth-largest-element-in-an-array
0239-sliding-window-maximum
0621-task-scheduler

Monotonic Queue

0239-sliding-window-maximum

Design

0146-lru-cache
0155-min-stack
0937-online-stock-span

Data Stream

0937-online-stock-span

Hash Table

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0146-lru-cache
0424-longest-repeating-character-replacement
0496-next-greater-element-i
0621-task-scheduler
0876-hand-of-straights
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
1034-subarrays-with-k-different-integers
1256-rank-transform-of-an-array
1460-number-of-substrings-containing-all-three-characters

Linked List

0023-merge-k-sorted-lists
0146-lru-cache

Doubly-Linked List

0146-lru-cache

String

0003-longest-substring-without-repeating-characters
0020-valid-parentheses
0076-minimum-window-substring
0424-longest-repeating-character-replacement
1460-number-of-substrings-containing-all-three-characters

Binary Search

0493-reverse-pairs
0792-binary-search
1046-max-consecutive-ones-iii

Prefix Sum

0966-binary-subarrays-with-sum
1046-max-consecutive-ones-iii
1538-maximum-points-you-can-obtain-from-cards

Two Pointers

0042-trapping-rain-water

Dynamic Programming

0042-trapping-rain-water
0085-maximal-rectangle

Simulation

0735-asteroid-collision

Matrix

0085-maximal-rectangle

Divide and Conquer

0023-merge-k-sorted-lists
0215-kth-largest-element-in-an-array
0493-reverse-pairs

Binary Indexed Tree

0493-reverse-pairs

Segment Tree

0493-reverse-pairs

Merge Sort

0023-merge-k-sorted-lists
0493-reverse-pairs

Ordered Set

0493-reverse-pairs

Counting

0621-task-scheduler
1034-subarrays-with-k-different-integers

Sorting

0215-kth-largest-element-in-an-array
0621-task-scheduler
0876-hand-of-straights
1256-rank-transform-of-an-array

Quickselect

0215-kth-largest-element-in-an-array

Greedy

0621-task-scheduler
0876-hand-of-straights

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages