Skip to content

vijaymanikantareddy/LeetCode_GFG_solved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode_solved

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

Array

0001-two-sum
0040-combination-sum-ii
0056-merge-intervals
0074-search-a-2d-matrix
0121-best-time-to-buy-and-sell-stock
0179-largest-number
0494-target-sum
0503-next-greater-element-ii
0780-max-chunks-to-make-sorted
0870-magic-squares-in-grid
0890-lemonade-change
0906-walking-robot-simulation
1063-best-sightseeing-pair
1256-rank-transform-of-an-array
1364-tuple-with-same-product
1396-count-servers-that-communicate
1477-product-of-the-last-k-numbers
1570-final-prices-with-a-special-discount-in-a-shop
1620-check-if-array-pairs-are-divisible-by-k
1786-count-the-number-of-consistent-strings
1878-check-if-array-is-sorted-and-rotated
1917-maximum-average-pass-ratio
1927-maximum-ascending-subarray-sum
2107-find-unique-binary-string
2155-find-missing-observations
2163-kth-distinct-string-in-an-array
2292-counting-words-with-a-given-prefix
2411-spiral-matrix-iv
2448-count-number-of-bad-pairs
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2503-longest-subarray-with-maximum-bitwise-and
3332-minimum-operations-to-exceed-threshold-value-ii
3372-longest-strictly-increasing-or-strictly-decreasing-subarray
3429-special-array-i
3434-find-the-number-of-distinct-colors-among-the-balls
3501-delete-nodes-from-linked-list-present-in-array
3555-final-array-state-after-k-multiplication-operations-i

Hash Table

0001-two-sum
0870-magic-squares-in-grid
0906-walking-robot-simulation
0920-uncommon-words-from-two-sentences
1256-rank-transform-of-an-array
1364-tuple-with-same-product
1620-check-if-array-pairs-are-divisible-by-k
1786-count-the-number-of-consistent-strings
1915-check-if-one-string-swap-can-make-strings-equal
2059-unique-length-3-palindromic-subsequences
2107-find-unique-binary-string
2163-kth-distinct-string-in-an-array
2300-construct-string-with-repeat-limit
2434-design-a-number-container-system
2448-count-number-of-bad-pairs
2473-max-sum-of-a-pair-with-equal-sum-of-digits
3276-minimum-number-of-pushes-to-type-word-ii
3434-find-the-number-of-distinct-colors-among-the-balls
3501-delete-nodes-from-linked-list-present-in-array

String

0058-length-of-last-word
0179-largest-number
0920-uncommon-words-from-two-sentences
0957-minimum-add-to-make-parentheses-valid
1537-maximum-score-after-splitting-a-string
1786-count-the-number-of-consistent-strings
1915-check-if-one-string-swap-can-make-strings-equal
2021-remove-all-occurrences-of-a-substring
2059-unique-length-3-palindromic-subsequences
2076-sum-of-digits-of-string-after-convert
2107-find-unique-binary-string
2163-kth-distinct-string-in-an-array
2292-counting-words-with-a-given-prefix
2300-construct-string-with-repeat-limit
2456-construct-smallest-number-from-di-string
3276-minimum-number-of-pushes-to-type-word-ii
3447-clear-digits

Counting

0920-uncommon-words-from-two-sentences
1364-tuple-with-same-product
1396-count-servers-that-communicate
1620-check-if-array-pairs-are-divisible-by-k
1786-count-the-number-of-consistent-strings
1915-check-if-one-string-swap-can-make-strings-equal
2163-kth-distinct-string-in-an-array
2300-construct-string-with-repeat-limit
2448-count-number-of-bad-pairs
3276-minimum-number-of-pushes-to-type-word-ii

Greedy

0179-largest-number
0780-max-chunks-to-make-sorted
0890-lemonade-change
0957-minimum-add-to-make-parentheses-valid
1917-maximum-average-pass-ratio
2300-construct-string-with-repeat-limit
2456-construct-smallest-number-from-di-string
3276-minimum-number-of-pushes-to-type-word-ii

Sorting

0056-merge-intervals
0179-largest-number
0780-max-chunks-to-make-sorted
1256-rank-transform-of-an-array
2473-max-sum-of-a-pair-with-equal-sum-of-digits
3276-minimum-number-of-pushes-to-type-word-ii

Tree

0145-binary-tree-postorder-traversal
0515-find-largest-value-in-each-tree-row
0776-n-ary-tree-postorder-traversal
1114-binary-search-tree-to-greater-sum-tree
2493-reverse-odd-levels-of-binary-tree
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
3058-maximum-number-of-k-divisible-components

Depth-First Search

0145-binary-tree-postorder-traversal
0515-find-largest-value-in-each-tree-row
0776-n-ary-tree-postorder-traversal
1114-binary-search-tree-to-greater-sum-tree
1396-count-servers-that-communicate
2493-reverse-odd-levels-of-binary-tree
3058-maximum-number-of-k-divisible-components

Binary Search Tree

0074-search-a-2d-matrix
1114-binary-search-tree-to-greater-sum-tree

Binary Tree

0145-binary-tree-postorder-traversal
0515-find-largest-value-in-each-tree-row
1114-binary-search-tree-to-greater-sum-tree
2493-reverse-odd-levels-of-binary-tree
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Math

0870-magic-squares-in-grid
1477-product-of-the-last-k-numbers
2155-find-missing-observations
2448-count-number-of-bad-pairs
3555-final-array-state-after-k-multiplication-operations-i

Matrix

0074-search-a-2d-matrix
0870-magic-squares-in-grid
1396-count-servers-that-communicate
2411-spiral-matrix-iv

Backtracking

0040-combination-sum-ii
0494-target-sum
2107-find-unique-binary-string
2456-construct-smallest-number-from-di-string

Bit Manipulation

0476-number-complement
1786-count-the-number-of-consistent-strings
2059-unique-length-3-palindromic-subsequences
2323-minimum-bit-flips-to-convert-number
2503-longest-subarray-with-maximum-bitwise-and

Stack

0145-binary-tree-postorder-traversal
0503-next-greater-element-ii
0776-n-ary-tree-postorder-traversal
0780-max-chunks-to-make-sorted
0957-minimum-add-to-make-parentheses-valid
1570-final-prices-with-a-special-discount-in-a-shop
2021-remove-all-occurrences-of-a-substring
2456-construct-smallest-number-from-di-string
3447-clear-digits

Simulation

0906-walking-robot-simulation
2021-remove-all-occurrences-of-a-substring
2076-sum-of-digits-of-string-after-convert
2155-find-missing-observations
2411-spiral-matrix-iv
3332-minimum-operations-to-exceed-threshold-value-ii
3434-find-the-number-of-distinct-colors-among-the-balls
3447-clear-digits
3555-final-array-state-after-k-multiplication-operations-i

Linked List

0024-swap-nodes-in-pairs
0725-split-linked-list-in-parts
2411-spiral-matrix-iv
3501-delete-nodes-from-linked-list-present-in-array

Recursion

0024-swap-nodes-in-pairs

Brainteaser

2503-longest-subarray-with-maximum-bitwise-and

Heap (Priority Queue)

1917-maximum-average-pass-ratio
2300-construct-string-with-repeat-limit
2434-design-a-number-container-system
2473-max-sum-of-a-pair-with-equal-sum-of-digits
3332-minimum-operations-to-exceed-threshold-value-ii
3555-final-array-state-after-k-multiplication-operations-i

Monotonic Stack

0503-next-greater-element-ii
0780-max-chunks-to-make-sorted
1570-final-prices-with-a-special-discount-in-a-shop

Breadth-First Search

0515-find-largest-value-in-each-tree-row
1396-count-servers-that-communicate
2493-reverse-odd-levels-of-binary-tree
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Dynamic Programming

0121-best-time-to-buy-and-sell-stock
0494-target-sum
1063-best-sightseeing-pair

Prefix Sum

1477-product-of-the-last-k-numbers
1537-maximum-score-after-splitting-a-string
2059-unique-length-3-palindromic-subsequences

String Matching

2292-counting-words-with-a-given-prefix

Union Find

1396-count-servers-that-communicate

Design

1477-product-of-the-last-k-numbers
2434-design-a-number-container-system

Ordered Set

2434-design-a-number-container-system

Data Stream

1477-product-of-the-last-k-numbers

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages