Skip to content

ankan-manna/LeetCode_DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0001-two-sum
0179-largest-number
0733-flood-fill
1002-maximum-width-ramp
1036-rotting-oranges
1256-rank-transform-of-an-array
1402-count-square-submatrices-with-all-ones
1497-design-a-stack-with-increment-operation
1786-count-the-number-of-consistent-strings
1917-maximum-average-pass-ratio
2170-count-number-of-maximum-bitwise-or-subsets
2356-largest-combination-with-bitwise-and-greater-than-zero
2411-spiral-matrix-iv
2494-sum-of-prefix-scores-of-strings
2586-longest-square-streak-in-an-array
2794-maximum-number-of-moves-in-a-grid
3291-find-if-array-can-be-sorted
3329-find-the-length-of-the-longest-common-prefix
3501-delete-nodes-from-linked-list-present-in-array
3555-final-array-state-after-k-multiplication-operations-i

Hash Table

0001-two-sum
1256-rank-transform-of-an-array
1715-split-a-string-into-the-max-number-of-unique-substrings
1786-count-the-number-of-consistent-strings
2356-largest-combination-with-bitwise-and-greater-than-zero
2586-longest-square-streak-in-an-array
2677-cousins-in-binary-tree-ii
3329-find-the-length-of-the-longest-common-prefix
3501-delete-nodes-from-linked-list-present-in-array

Linked List

2411-spiral-matrix-iv
2903-insert-greatest-common-divisors-in-linked-list
3501-delete-nodes-from-linked-list-present-in-array

Matrix

0733-flood-fill
1036-rotting-oranges
1402-count-square-submatrices-with-all-ones
2411-spiral-matrix-iv
2794-maximum-number-of-moves-in-a-grid

Simulation

1667-find-kth-bit-in-nth-binary-string
2411-spiral-matrix-iv
3555-final-array-state-after-k-multiplication-operations-i

Math

0241-different-ways-to-add-parentheses
0670-maximum-swap
2903-insert-greatest-common-divisors-in-linked-list
3555-final-array-state-after-k-multiplication-operations-i

Number Theory

2903-insert-greatest-common-divisors-in-linked-list

Bit Manipulation

1786-count-the-number-of-consistent-strings
2170-count-number-of-maximum-bitwise-or-subsets
2323-minimum-bit-flips-to-convert-number
2356-largest-combination-with-bitwise-and-greater-than-zero
3291-find-if-array-can-be-sorted

String

0179-largest-number
0241-different-ways-to-add-parentheses
0812-rotate-string
1302-delete-characters-to-make-fancy-string
1667-find-kth-bit-in-nth-binary-string
1715-split-a-string-into-the-max-number-of-unique-substrings
1786-count-the-number-of-consistent-strings
2494-sum-of-prefix-scores-of-strings
3329-find-the-length-of-the-longest-common-prefix

Counting

1786-count-the-number-of-consistent-strings
2356-largest-combination-with-bitwise-and-greater-than-zero
2494-sum-of-prefix-scores-of-strings

Greedy

0179-largest-number
0670-maximum-swap
1917-maximum-average-pass-ratio

Sorting

0179-largest-number
1256-rank-transform-of-an-array
2586-longest-square-streak-in-an-array
2646-kth-largest-sum-in-a-binary-tree
3291-find-if-array-can-be-sorted

Dynamic Programming

0241-different-ways-to-add-parentheses
1402-count-square-submatrices-with-all-ones
2586-longest-square-streak-in-an-array
2794-maximum-number-of-moves-in-a-grid

Recursion

0241-different-ways-to-add-parentheses
1667-find-kth-bit-in-nth-binary-string

Memoization

0241-different-ways-to-add-parentheses

Depth-First Search

0386-lexicographical-numbers
0733-flood-fill
0988-flip-equivalent-binary-trees
2677-cousins-in-binary-tree-ii

Trie

0386-lexicographical-numbers
0440-k-th-smallest-in-lexicographical-order
2494-sum-of-prefix-scores-of-strings
3329-find-the-length-of-the-longest-common-prefix

Stack

1002-maximum-width-ramp
1497-design-a-stack-with-increment-operation

Design

1497-design-a-stack-with-increment-operation

Monotonic Stack

1002-maximum-width-ramp

Backtracking

1715-split-a-string-into-the-max-number-of-unique-substrings
2170-count-number-of-maximum-bitwise-or-subsets

Enumeration

2170-count-number-of-maximum-bitwise-or-subsets

Tree

0988-flip-equivalent-binary-trees
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii

Breadth-First Search

0733-flood-fill
1036-rotting-oranges
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii

Binary Tree

0988-flip-equivalent-binary-trees
2646-kth-largest-sum-in-a-binary-tree
2677-cousins-in-binary-tree-ii

Binary Search

2586-longest-square-streak-in-an-array

String Matching

0812-rotate-string

Heap (Priority Queue)

1917-maximum-average-pass-ratio
3555-final-array-state-after-k-multiplication-operations-i

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published