Skip to content

AliRizvi433/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0036-valid-sudoku
0049-group-anagrams
0073-set-matrix-zeroes
0076-minimum-window-substring
0128-longest-consecutive-sequence
0242-valid-anagram
0347-top-k-frequent-elements
0424-longest-repeating-character-replacement
0560-subarray-sum-equals-k
0567-permutation-in-string
1319-unique-number-of-occurrences

String

0003-longest-substring-without-repeating-characters
0049-group-anagrams
0076-minimum-window-substring
0242-valid-anagram
0424-longest-repeating-character-replacement
0567-permutation-in-string

Sorting

0015-3sum
0049-group-anagrams
0242-valid-anagram
0347-top-k-frequent-elements

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0036-valid-sudoku
0042-trapping-rain-water
0049-group-anagrams
0053-maximum-subarray
0073-set-matrix-zeroes
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0238-product-of-array-except-self
0239-sliding-window-maximum
0347-top-k-frequent-elements
0485-max-consecutive-ones
0560-subarray-sum-equals-k
0724-find-pivot-index
0882-peak-index-in-a-mountain-array
1319-unique-number-of-occurrences

Divide and Conquer

0053-maximum-subarray
0347-top-k-frequent-elements

Heap (Priority Queue)

0239-sliding-window-maximum
0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Prefix Sum

0238-product-of-array-except-self
0560-subarray-sum-equals-k
0724-find-pivot-index

Union Find

0128-longest-consecutive-sequence

Two Pointers

0011-container-with-most-water
0015-3sum
0042-trapping-rain-water
0567-permutation-in-string

Matrix

0036-valid-sudoku
0073-set-matrix-zeroes

Greedy

0011-container-with-most-water

Dynamic Programming

0042-trapping-rain-water
0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock

Stack

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Sliding Window

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0239-sliding-window-maximum
0424-longest-repeating-character-replacement
0567-permutation-in-string

Binary Search

0882-peak-index-in-a-mountain-array

Queue

0239-sliding-window-maximum

Monotonic Queue

0239-sliding-window-maximum

About

My solutions to the following leetcode questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published