Skip to content

gauriagwl864/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

192 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

LeetCode Topics

Array

0011-container-with-most-water
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0048-rotate-image
0068-text-justification
0074-search-a-2d-matrix
0085-maximal-rectangle
0121-best-time-to-buy-and-sell-stock
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0496-next-greater-element-i
0560-subarray-sum-equals-k
0645-set-mismatch
0682-baseball-game
0704-binary-search
0735-asteroid-collision
1475-final-prices-with-a-special-discount-in-a-shop
1944-number-of-visible-people-in-a-queue
1980-find-unique-binary-string
2906-construct-product-matrix
2946-matrix-similarity-after-cyclic-shifts

Hash Table

0141-linked-list-cycle
0146-lru-cache
0160-intersection-of-two-linked-lists
0496-next-greater-element-i
0560-subarray-sum-equals-k
0645-set-mismatch
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1980-find-unique-binary-string

Bit Manipulation

0645-set-mismatch
0868-binary-gap
1461-check-if-a-string-contains-all-binary-codes-of-size-k
2571-minimum-operations-to-reduce-an-integer-to-0

Sorting

0645-set-mismatch

String

0068-text-justification
0071-simplify-path
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1784-check-if-binary-string-has-at-most-one-segment-of-ones
1980-find-unique-binary-string

Simulation

0068-text-justification
0682-baseball-game
0735-asteroid-collision
2946-matrix-similarity-after-cyclic-shifts

Linked List

0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0023-merge-k-sorted-lists
0082-remove-duplicates-from-sorted-list-ii
0141-linked-list-cycle
0146-lru-cache
0160-intersection-of-two-linked-lists
0206-reverse-linked-list
0876-middle-of-the-linked-list

Two Pointers

0011-container-with-most-water
0019-remove-nth-node-from-end-of-list
0082-remove-duplicates-from-sorted-list-ii
0141-linked-list-cycle
0160-intersection-of-two-linked-lists
0167-two-sum-ii-input-array-is-sorted
0876-middle-of-the-linked-list

Recursion

0021-merge-two-sorted-lists
0206-reverse-linked-list

Math

0048-rotate-image
0069-sqrtx
0070-climbing-stairs
2946-matrix-similarity-after-cyclic-shifts

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
0074-search-a-2d-matrix
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0704-binary-search

Dynamic Programming

0070-climbing-stairs
0085-maximal-rectangle
0121-best-time-to-buy-and-sell-stock
2571-minimum-operations-to-reduce-an-integer-to-0

Memoization

0070-climbing-stairs

Matrix

0048-rotate-image
0074-search-a-2d-matrix
0085-maximal-rectangle
2906-construct-product-matrix
2946-matrix-similarity-after-cyclic-shifts

Rolling Hash

1461-check-if-a-string-contains-all-binary-codes-of-size-k

Hash Function

1461-check-if-a-string-contains-all-binary-codes-of-size-k

Design

0146-lru-cache
0225-implement-stack-using-queues
0232-implement-queue-using-stacks

Doubly-Linked List

0146-lru-cache

Backtracking

1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1980-find-unique-binary-string

Greedy

0011-container-with-most-water
2571-minimum-operations-to-reduce-an-integer-to-0

Depth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0207-course-schedule
0226-invert-binary-tree

Breadth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0207-course-schedule
0226-invert-binary-tree

Graph Theory

0207-course-schedule

Topological Sort

0207-course-schedule

Stack

0071-simplify-path
0085-maximal-rectangle
0225-implement-stack-using-queues
0232-implement-queue-using-stacks
0496-next-greater-element-i
0682-baseball-game
0735-asteroid-collision
1475-final-prices-with-a-special-discount-in-a-shop
1944-number-of-visible-people-in-a-queue

Monotonic Stack

0085-maximal-rectangle
0496-next-greater-element-i
1475-final-prices-with-a-special-discount-in-a-shop
1944-number-of-visible-people-in-a-queue

Divide and Conquer

0023-merge-k-sorted-lists

Heap (Priority Queue)

0023-merge-k-sorted-lists

Merge Sort

0023-merge-k-sorted-lists

Prefix Sum

0560-subarray-sum-equals-k
2906-construct-product-matrix

Tree

0100-same-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Binary Tree

0100-same-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Queue

0225-implement-stack-using-queues
0232-implement-queue-using-stacks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages