Skip to content

Fung1117/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

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

String

3379-score-of-a-string

Tree

0975-range-sum-of-bst

Depth-First Search

0975-range-sum-of-bst

Binary Search Tree

0975-range-sum-of-bst

Binary Tree

0975-range-sum-of-bst

LeetCode Topics

Array

0056-merge-intervals
0057-insert-interval
0088-merge-sorted-array
0128-longest-consecutive-sequence
1335-maximum-candies-allocated-to-k-children
1786-count-the-number-of-consistent-strings
2220-find-all-possible-recipes-from-given-supplies
2265-partition-array-according-to-given-pivot
2308-divide-array-into-equal-pairs
2478-longest-nice-subarray
2503-longest-subarray-with-maximum-bitwise-and
2551-apply-operations-to-an-array
2665-minimum-time-to-repair-cars
2690-house-robber-iv
2707-merge-two-2d-arrays-by-summing-values
3227-find-missing-and-repeated-values
3329-find-the-length-of-the-longest-common-prefix
3430-count-days-without-meetings
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3483-alternating-groups-ii
3501-delete-nodes-from-linked-list-present-in-array
3657-check-if-grid-can-be-cut-into-sections

Two Pointers

0088-merge-sorted-array
0567-permutation-in-string
2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array
2707-merge-two-2d-arrays-by-summing-values

Sorting

0056-merge-intervals
0088-merge-sorted-array
3430-count-days-without-meetings
3657-check-if-grid-can-be-cut-into-sections

Hash Table

0128-longest-consecutive-sequence
0567-permutation-in-string
0920-uncommon-words-from-two-sentences
1460-number-of-substrings-containing-all-three-characters
1786-count-the-number-of-consistent-strings
2220-find-all-possible-recipes-from-given-supplies
2308-divide-array-into-equal-pairs
2677-cousins-in-binary-tree-ii
2707-merge-two-2d-arrays-by-summing-values
3227-find-missing-and-repeated-values
3329-find-the-length-of-the-longest-common-prefix
3501-delete-nodes-from-linked-list-present-in-array

Union Find

0128-longest-consecutive-sequence
2793-count-the-number-of-complete-components

Stack

0155-min-stack

Design

0155-min-stack
0211-design-add-and-search-words-data-structure

Linked List

1484-linked-list-in-binary-tree
3501-delete-nodes-from-linked-list-present-in-array

Tree

0104-maximum-depth-of-binary-tree
0199-binary-tree-right-side-view
1484-linked-list-in-binary-tree
2677-cousins-in-binary-tree-ii

Depth-First Search

0104-maximum-depth-of-binary-tree
0199-binary-tree-right-side-view
0211-design-add-and-search-words-data-structure
1484-linked-list-in-binary-tree
2677-cousins-in-binary-tree-ii
2793-count-the-number-of-complete-components

Breadth-First Search

0104-maximum-depth-of-binary-tree
0199-binary-tree-right-side-view
1484-linked-list-in-binary-tree
2677-cousins-in-binary-tree-ii
2793-count-the-number-of-complete-components

Binary Tree

0104-maximum-depth-of-binary-tree
0199-binary-tree-right-side-view
1484-linked-list-in-binary-tree
2677-cousins-in-binary-tree-ii

String

0211-design-add-and-search-words-data-structure
0567-permutation-in-string
0920-uncommon-words-from-two-sentences
1460-number-of-substrings-containing-all-three-characters
1786-count-the-number-of-consistent-strings
2220-find-all-possible-recipes-from-given-supplies
2463-minimum-recolors-to-get-k-consecutive-black-blocks
3329-find-the-length-of-the-longest-common-prefix

Trie

0211-design-add-and-search-words-data-structure
3329-find-the-length-of-the-longest-common-prefix

Bit Manipulation

1786-count-the-number-of-consistent-strings
2308-divide-array-into-equal-pairs
2478-longest-nice-subarray
2503-longest-subarray-with-maximum-bitwise-and
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Counting

0920-uncommon-words-from-two-sentences
1786-count-the-number-of-consistent-strings
2308-divide-array-into-equal-pairs

Brainteaser

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

Sliding Window

0567-permutation-in-string
1460-number-of-substrings-containing-all-three-characters
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2478-longest-nice-subarray
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3483-alternating-groups-ii

Math

0670-maximum-swap
1889-check-if-number-is-a-sum-of-powers-of-three
2610-closest-prime-numbers-in-range
2649-count-total-number-of-colored-cells
3227-find-missing-and-repeated-values

Greedy

0670-maximum-swap

Database

0197-rising-temperature
1724-customer-who-visited-but-did-not-make-any-transactions

Simulation

2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array

Matrix

3227-find-missing-and-repeated-values

Number Theory

2610-closest-prime-numbers-in-range

Binary Search

1335-maximum-candies-allocated-to-k-children
2665-minimum-time-to-repair-cars
2690-house-robber-iv

Queue

3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Prefix Sum

3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Graph

2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies
2793-count-the-number-of-complete-components

Topological Sort

2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies

Dynamic Programming

2090-number-of-ways-to-arrive-at-destination

Shortest Path

2090-number-of-ways-to-arrive-at-destination

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published