Skip to content

kaleemgujjar07/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

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

LeetCode Topics

Array

0026-remove-duplicates-from-sorted-array
0027-remove-element
0049-group-anagrams
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0238-product-of-array-except-self
0334-increasing-triplet-subsequence
0347-top-k-frequent-elements
0605-can-place-flowers
0643-maximum-average-subarray-i
0932-monotonic-array
1482-how-many-numbers-are-smaller-than-the-current-number
1528-kids-with-the-greatest-number-of-candies
1574-maximum-product-of-two-elements-in-an-array
1603-running-sum-of-1d-array
2048-build-array-from-permutation
2058-concatenation-of-array

Prefix Sum

0238-product-of-array-except-self
1603-running-sum-of-1d-array

Simulation

2048-build-array-from-permutation
2058-concatenation-of-array

Hash Table

0049-group-anagrams
0128-longest-consecutive-sequence
0242-valid-anagram
0347-top-k-frequent-elements
0438-find-all-anagrams-in-a-string
1482-how-many-numbers-are-smaller-than-the-current-number

Sorting

0049-group-anagrams
0242-valid-anagram
0347-top-k-frequent-elements
1482-how-many-numbers-are-smaller-than-the-current-number
1574-maximum-product-of-two-elements-in-an-array

Counting

0347-top-k-frequent-elements
1482-how-many-numbers-are-smaller-than-the-current-number

Heap (Priority Queue)

0347-top-k-frequent-elements
1574-maximum-product-of-two-elements-in-an-array

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0151-reverse-words-in-a-string
0345-reverse-vowels-of-a-string
1894-merge-strings-alternately

Sliding Window

0438-find-all-anagrams-in-a-string
0643-maximum-average-subarray-i

String

0049-group-anagrams
0151-reverse-words-in-a-string
0242-valid-anagram
0345-reverse-vowels-of-a-string
0438-find-all-anagrams-in-a-string
1146-greatest-common-divisor-of-strings
1894-merge-strings-alternately

Math

1146-greatest-common-divisor-of-strings

Dynamic Programming

0121-best-time-to-buy-and-sell-stock

Greedy

0334-increasing-triplet-subsequence
0605-can-place-flowers

Divide and Conquer

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Union Find

0128-longest-consecutive-sequence

About

A collection of LeetCode questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published