Git Product home page Git Product logo

leetcode-te's Introduction

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

LeetCode Topics

Depth-First Search

0999-regions-cut-by-slashes
1207-delete-nodes-and-return-forest
1300-critical-connections-in-a-network
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1653-number-of-good-leaf-nodes-pairs
1691-minimum-number-of-days-to-disconnect-island
2217-step-by-step-directions-from-a-binary-tree-node-to-another

Breadth-First Search

0999-regions-cut-by-slashes
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1691-minimum-number-of-days-to-disconnect-island
2171-second-minimum-time-to-reach-destination

Graph

1300-critical-connections-in-a-network
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable
2171-second-minimum-time-to-reach-destination
2472-build-a-matrix-with-conditions
3235-minimum-cost-to-convert-string-i

Topological Sort

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
2472-build-a-matrix-with-conditions

String

0273-integer-to-english-words
0592-fraction-addition-and-subtraction
0664-strange-printer
0726-number-of-atoms
1298-reverse-substrings-between-each-pair-of-parentheses
1644-maximum-number-of-non-overlapping-substrings
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings
2163-kth-distinct-string-in-an-array
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2502-sort-the-people
3235-minimum-cost-to-convert-string-i

Greedy

0670-maximum-swap
0890-lemonade-change
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1644-maximum-number-of-non-overlapping-substrings
1711-find-valid-matrix-given-row-and-column-sums
1818-maximum-score-from-removing-substrings

Linked List

0021-merge-two-sorted-lists
0160-intersection-of-two-linked-lists
2299-merge-nodes-in-between-zeros

Recursion

0021-merge-two-sorted-lists
0273-integer-to-english-words
1951-find-the-winner-of-the-circular-game

Hash Table

0001-two-sum
0160-intersection-of-two-linked-lists
0264-ugly-number-ii
0350-intersection-of-two-arrays-ii
0726-number-of-atoms
0870-magic-squares-in-grid
0999-regions-cut-by-slashes
1207-delete-nodes-and-return-forest
1556-make-two-arrays-equal-by-reversing-subarrays
1741-sort-array-by-increasing-frequency
2163-kth-distinct-string-in-an-array
2306-create-binary-tree-from-descriptions
2502-sort-the-people

Two Pointers

0160-intersection-of-two-linked-lists
0350-intersection-of-two-arrays-ii
0719-find-k-th-smallest-pair-distance
2481-strictly-palindromic-number

Array

0001-two-sum
0035-search-insert-position
0039-combination-sum
0040-combination-sum-ii
0350-intersection-of-two-arrays-ii
0719-find-k-th-smallest-pair-distance
0870-magic-squares-in-grid
0890-lemonade-change
0921-spiral-matrix-iii
0999-regions-cut-by-slashes
1196-filling-bookcase-shelves
1207-delete-nodes-and-return-forest
1240-stone-game-ii
1293-three-consecutive-odds
1333-sort-the-jumbled-numbers
1496-lucky-numbers-in-a-matrix
1511-count-number-of-teams
1556-make-two-arrays-equal-by-reversing-subarrays
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1691-minimum-number-of-days-to-disconnect-island
1711-find-valid-matrix-given-row-and-column-sums
1720-crawler-log-folder
1741-sort-array-by-increasing-frequency
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2067-maximum-number-of-points-with-cost
2163-kth-distinct-string-in-an-array
2255-minimum-swaps-to-group-all-1s-together-ii
2306-create-binary-tree-from-descriptions
2472-build-a-matrix-with-conditions
2502-sort-the-people
2846-robot-collisions
3235-minimum-cost-to-convert-string-i

Backtracking

0039-combination-sum
0040-combination-sum-ii

Union Find

0999-regions-cut-by-slashes
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable

Sorting

0350-intersection-of-two-arrays-ii
0719-find-k-th-smallest-pair-distance
0726-number-of-atoms
1333-sort-the-jumbled-numbers
1556-make-two-arrays-equal-by-reversing-subarrays
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1741-sort-array-by-increasing-frequency
2502-sort-the-people
2846-robot-collisions

Binary Search

0035-search-insert-position
0350-intersection-of-two-arrays-ii
0719-find-k-th-smallest-pair-distance

Simulation

0592-fraction-addition-and-subtraction
0921-spiral-matrix-iii
1642-water-bottles
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2299-merge-nodes-in-between-zeros
2645-pass-the-pillow
2846-robot-collisions

Math

0264-ugly-number-ii
0273-integer-to-english-words
0592-fraction-addition-and-subtraction
0650-2-keys-keyboard
0670-maximum-swap
0870-magic-squares-in-grid
1240-stone-game-ii
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2481-strictly-palindromic-number
2645-pass-the-pillow

Biconnected Component

1300-critical-connections-in-a-network

Queue

1951-find-the-winner-of-the-circular-game

Stack

0726-number-of-atoms
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings
2846-robot-collisions

Tree

1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Binary Tree

1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Matrix

0870-magic-squares-in-grid
0921-spiral-matrix-iii
0999-regions-cut-by-slashes
1496-lucky-numbers-in-a-matrix
1691-minimum-number-of-days-to-disconnect-island
1711-find-valid-matrix-given-row-and-column-sums
2472-build-a-matrix-with-conditions

Dynamic Programming

0264-ugly-number-ii
0650-2-keys-keyboard
0664-strange-printer
1196-filling-bookcase-shelves
1240-stone-game-ii
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1511-count-number-of-teams
1756-minimum-deletions-to-make-string-balanced
2067-maximum-number-of-points-with-cost

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2171-second-minimum-time-to-reach-destination
3235-minimum-cost-to-convert-string-i

Binary Indexed Tree

1511-count-number-of-teams

Sliding Window

2255-minimum-swaps-to-group-all-1s-together-ii

Counting

2163-kth-distinct-string-in-an-array

Strongly Connected Component

1691-minimum-number-of-days-to-disconnect-island

Brainteaser

2481-strictly-palindromic-number

Heap (Priority Queue)

0264-ugly-number-ii

Prefix Sum

1240-stone-game-ii

Game Theory

1240-stone-game-ii

Bit Manipulation

0476-number-complement

leetcode-te's People

Contributors

maliumesh1 avatar

Stargazers

ATHARV GAWANDE avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.