Skip to content

VineetLoyer/LeetcodeGrind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Topics

Array

0001-two-sum
0018-4sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0046-permutations
0048-rotate-image
0053-maximum-subarray
0056-merge-intervals
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0088-merge-sorted-array
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0169-majority-element
0204-count-primes
0229-majority-element-ii
0238-product-of-array-except-self
0287-find-the-duplicate-number
0347-top-k-frequent-elements
0493-reverse-pairs
0948-sort-an-array
1700-minimum-time-to-make-rope-colorful
1741-sort-array-by-increasing-frequency
2106-find-greatest-common-divisor-of-array
2343-count-unguarded-cells-in-the-grid
3227-find-missing-and-repeated-values
3501-delete-nodes-from-linked-list-present-in-array
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i

Two Pointers

0018-4sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0075-sort-colors
0088-merge-sorted-array
0125-valid-palindrome
0151-reverse-words-in-a-string
0287-find-the-duplicate-number
0344-reverse-string
0908-middle-of-the-linked-list

Backtracking

0046-permutations

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0073-set-matrix-zeroes
0127-word-ladder
0128-longest-consecutive-sequence
0169-majority-element
0229-majority-element-ii
0347-top-k-frequent-elements
1741-sort-array-by-increasing-frequency
3227-find-missing-and-repeated-values
3501-delete-nodes-from-linked-list-present-in-array
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i

String

0003-longest-substring-without-repeating-characters
0125-valid-palindrome
0127-word-ladder
0151-reverse-words-in-a-string
0344-reverse-string
1146-greatest-common-divisor-of-strings
1700-minimum-time-to-make-rope-colorful

Breadth-First Search

0127-word-ladder
0199-binary-tree-right-side-view

Stack

0155-min-stack

Design

0155-min-stack

Tree

0199-binary-tree-right-side-view

Depth-First Search

0199-binary-tree-right-side-view

Binary Tree

0199-binary-tree-right-side-view

Matrix

0048-rotate-image
0073-set-matrix-zeroes
0074-search-a-2d-matrix
2343-count-unguarded-cells-in-the-grid
3227-find-missing-and-repeated-values

Dynamic Programming

0053-maximum-subarray
0062-unique-paths
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
1013-fibonacci-number
1700-minimum-time-to-make-rope-colorful

Divide and Conquer

0053-maximum-subarray
0169-majority-element
0347-top-k-frequent-elements
0493-reverse-pairs
0948-sort-an-array

Sorting

0018-4sum
0056-merge-intervals
0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0229-majority-element-ii
0347-top-k-frequent-elements
0948-sort-an-array
1741-sort-array-by-increasing-frequency

Math

0007-reverse-integer
0009-palindrome-number
0048-rotate-image
0050-powx-n
0062-unique-paths
0172-factorial-trailing-zeroes
0204-count-primes
1013-fibonacci-number
1090-armstrong-number
1146-greatest-common-divisor-of-strings
1585-the-kth-factor-of-n
1817-calculate-money-in-leetcode-bank
2106-find-greatest-common-divisor-of-array
3227-find-missing-and-repeated-values

Binary Search

0074-search-a-2d-matrix
0287-find-the-duplicate-number
0493-reverse-pairs

Bit Manipulation

0287-find-the-duplicate-number

Recursion

0050-powx-n
0206-reverse-linked-list
1013-fibonacci-number

Counting

0169-majority-element
0229-majority-element-ii
0347-top-k-frequent-elements

Combinatorics

0062-unique-paths

Binary Indexed Tree

0493-reverse-pairs

Segment Tree

0493-reverse-pairs

Merge Sort

0493-reverse-pairs
0948-sort-an-array

Ordered Set

0493-reverse-pairs

Union Find

0128-longest-consecutive-sequence

Sliding Window

0003-longest-substring-without-repeating-characters
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i

Linked List

0206-reverse-linked-list
0908-middle-of-the-linked-list
3501-delete-nodes-from-linked-list-present-in-array

Prefix Sum

0238-product-of-array-except-self

Number Theory

0204-count-primes
1585-the-kth-factor-of-n
2106-find-greatest-common-divisor-of-array

Enumeration

0204-count-primes

Memoization

1013-fibonacci-number

Simulation

2343-count-unguarded-cells-in-the-grid

Heap (Priority Queue)

0347-top-k-frequent-elements
0948-sort-an-array
3592-find-x-sum-of-all-k-long-subarrays-ii
3610-find-x-sum-of-all-k-long-subarrays-i

Bucket Sort

0347-top-k-frequent-elements
0948-sort-an-array

Quickselect

0347-top-k-frequent-elements

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Greedy

1700-minimum-time-to-make-rope-colorful

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages