Skip to content
garvitjain131Public

About

My solutions to LeetCode problems

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

164 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0014-longest-common-prefix
0015-3sum
0018-4sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0048-rotate-image
0053-maximum-subarray
0054-spiral-matrix
0055-jump-game
0056-merge-intervals
0073-set-matrix-zeroes
0075-sort-colors
0081-search-in-rotated-sorted-array-ii
0088-merge-sorted-array
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0136-single-number
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0169-majority-element
0540-single-element-in-a-sorted-array
0704-binary-search

Dynamic Programming

0005-longest-palindromic-substring
0053-maximum-subarray
0055-jump-game
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock

Greedy

0011-container-with-most-water
0055-jump-game
1903-largest-odd-number-in-string

Hash Table

0001-two-sum
0013-roman-to-integer
0073-set-matrix-zeroes
0169-majority-element
0205-isomorphic-strings
0242-valid-anagram
0451-sort-characters-by-frequency
1781-sum-of-beauty-of-all-substrings

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0015-3sum
0018-4sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0075-sort-colors
0088-merge-sorted-array
0151-reverse-words-in-a-string

Sorting

0015-3sum
0018-4sum
0056-merge-intervals
0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0242-valid-anagram
0451-sort-characters-by-frequency

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0069-sqrtx
0081-search-in-rotated-sorted-array-ii
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0540-single-element-in-a-sorted-array
0704-binary-search

Math

0013-roman-to-integer
0048-rotate-image
0069-sqrtx
1903-largest-odd-number-in-string

Matrix

0048-rotate-image
0054-spiral-matrix
0073-set-matrix-zeroes

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Simulation

0054-spiral-matrix

Bit Manipulation

0136-single-number

Counting

0169-majority-element
0451-sort-characters-by-frequency
1781-sum-of-beauty-of-all-substrings

String

0005-longest-palindromic-substring
0013-roman-to-integer
0014-longest-common-prefix
0151-reverse-words-in-a-string
0205-isomorphic-strings
0242-valid-anagram
0451-sort-characters-by-frequency
0796-rotate-string
1614-maximum-nesting-depth-of-the-parentheses
1781-sum-of-beauty-of-all-substrings
1903-largest-odd-number-in-string

Trie

0014-longest-common-prefix

String Matching

0796-rotate-string

Heap (Priority Queue)

0451-sort-characters-by-frequency

Bucket Sort

0451-sort-characters-by-frequency

Stack

1614-maximum-nesting-depth-of-the-parentheses

About

My solutions to LeetCode problems

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages