Skip to content

Tvaibhav06/Leetc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

297 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetc

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

LeetCode Topics

Tree

0101-symmetric-tree
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-search-in-a-binary-search-tree

Depth-First Search

0101-symmetric-tree
0114-flatten-binary-tree-to-linked-list
0130-surrounded-regions
0144-binary-tree-preorder-traversal
0207-course-schedule
0210-course-schedule-ii
0235-lowest-common-ancestor-of-a-binary-search-tree
0547-number-of-provinces
0733-flood-fill
0785-is-graph-bipartite
0801-is-graph-bipartite
0802-find-eventual-safe-states
0820-find-eventual-safe-states
1020-number-of-enclaves
1073-number-of-enclaves
1300-critical-connections-in-a-network
1442-number-of-operations-to-make-network-connected

Breadth-First Search

0101-symmetric-tree
0127-word-ladder
0130-surrounded-regions
0207-course-schedule
0210-course-schedule-ii
0322-coin-change
0542-01-matrix
0547-number-of-provinces
0733-flood-fill
0785-is-graph-bipartite
0801-is-graph-bipartite
0802-find-eventual-safe-states
0820-find-eventual-safe-states
0994-rotting-oranges
1020-number-of-enclaves
1073-number-of-enclaves
1442-number-of-operations-to-make-network-connected

Binary Tree

0101-symmetric-tree
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0235-lowest-common-ancestor-of-a-binary-search-tree
0783-search-in-a-binary-search-tree

Binary Search Tree

0235-lowest-common-ancestor-of-a-binary-search-tree
0783-search-in-a-binary-search-tree

Linked List

0114-flatten-binary-tree-to-linked-list

Stack

0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
1078-remove-outermost-parentheses

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0039-combination-sum
0040-combination-sum-ii
0063-unique-paths-ii
0064-minimum-path-sum
0090-subsets-ii
0120-triangle
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0128-longest-consecutive-sequence
0130-surrounded-regions
0198-house-robber
0322-coin-change
0416-partition-equal-subset-sum
0455-assign-cookies
0494-target-sum
0542-01-matrix
0733-flood-fill
0967-minimum-falling-path-sum
0994-rotting-oranges
1020-number-of-enclaves
1073-number-of-enclaves
1559-cherry-pickup-ii

Two Pointers

0026-remove-duplicates-from-sorted-array
0031-next-permutation
0455-assign-cookies

Hash Table

0001-two-sum
0127-word-ladder
0128-longest-consecutive-sequence

Union Find

0128-longest-consecutive-sequence
0130-surrounded-regions
0547-number-of-provinces
0801-is-graph-bipartite
1073-number-of-enclaves
1442-number-of-operations-to-make-network-connected

Matrix

0063-unique-paths-ii
0064-minimum-path-sum
0130-surrounded-regions
0542-01-matrix
0733-flood-fill
0967-minimum-falling-path-sum
0994-rotting-oranges
1020-number-of-enclaves
1073-number-of-enclaves
1559-cherry-pickup-ii

Graph

0210-course-schedule-ii
0547-number-of-provinces
0801-is-graph-bipartite
0820-find-eventual-safe-states
1300-critical-connections-in-a-network
1442-number-of-operations-to-make-network-connected
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2090-number-of-ways-to-arrive-at-destination

Topological Sort

0207-course-schedule
0210-course-schedule-ii
0802-find-eventual-safe-states
0820-find-eventual-safe-states
2090-number-of-ways-to-arrive-at-destination

String

0127-word-ladder
1078-remove-outermost-parentheses

Dynamic Programming

0062-unique-paths
0063-unique-paths-ii
0064-minimum-path-sum
0070-climbing-stairs
0120-triangle
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0198-house-robber
0322-coin-change
0416-partition-equal-subset-sum
0494-target-sum
0542-01-matrix
0967-minimum-falling-path-sum
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1559-cherry-pickup-ii
2090-number-of-ways-to-arrive-at-destination

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2090-number-of-ways-to-arrive-at-destination

Biconnected Component

1300-critical-connections-in-a-network

Backtracking

0039-combination-sum
0040-combination-sum-ii
0090-subsets-ii
0494-target-sum

Bit Manipulation

0090-subsets-ii

Math

0062-unique-paths
0070-climbing-stairs

Memoization

0070-climbing-stairs

Combinatorics

0062-unique-paths

Greedy

0122-best-time-to-buy-and-sell-stock-ii
0455-assign-cookies

Sorting

0455-assign-cookies

Union-Find

0130-surrounded-regions
0785-is-graph-bipartite
1020-number-of-enclaves

Graph Theory

0207-course-schedule
0210-course-schedule-ii
0785-is-graph-bipartite
0802-find-eventual-safe-states

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages