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

0011-container-with-most-water
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
0283-move-zeroes
0334-increasing-triplet-subsequence
0347-top-k-frequent-elements
0350-intersection-of-two-arrays-ii
0605-can-place-flowers
0643-maximum-average-subarray-i
0724-find-pivot-index
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
1791-richest-customer-wealth
1798-max-number-of-k-sum-pairs
2048-build-array-from-permutation
2058-concatenation-of-array

Prefix Sum

0238-product-of-array-except-self
0724-find-pivot-index
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
0350-intersection-of-two-arrays-ii
0438-find-all-anagrams-in-a-string
1482-how-many-numbers-are-smaller-than-the-current-number
1798-max-number-of-k-sum-pairs

Sorting

0049-group-anagrams
0242-valid-anagram
0347-top-k-frequent-elements
0350-intersection-of-two-arrays-ii
1482-how-many-numbers-are-smaller-than-the-current-number
1574-maximum-product-of-two-elements-in-an-array
1798-max-number-of-k-sum-pairs

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

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0027-remove-element
0151-reverse-words-in-a-string
0283-move-zeroes
0345-reverse-vowels-of-a-string
0350-intersection-of-two-arrays-ii
0392-is-subsequence
0443-string-compression
1798-max-number-of-k-sum-pairs
1894-merge-strings-alternately

Sliding Window

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

String

0020-valid-parentheses
0049-group-anagrams
0151-reverse-words-in-a-string
0242-valid-anagram
0345-reverse-vowels-of-a-string
0392-is-subsequence
0438-find-all-anagrams-in-a-string
0443-string-compression
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
0392-is-subsequence

Greedy

0011-container-with-most-water
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

Binary Search

0350-intersection-of-two-arrays-ii

Database

0584-find-customer-referee
0595-big-countries
1258-article-views-i
1827-invalid-tweets
1908-recyclable-and-low-fat-products

Matrix

1791-richest-customer-wealth

Stack

0020-valid-parentheses

About

A collection of LeetCode questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published