Git Product home page Git Product logo

leetcode's Introduction

LeetCode

Two Pointers

0016-3sum-closest
0075-sort-colors
0344-reverse-string
0633-sum-of-square-numbers
0853-most-profit-assigning-work
2572-append-characters-to-string-to-make-subsequence

String

0344-reverse-string
0648-replace-words
1044-find-common-characters
2572-append-characters-to-string-to-make-subsequence

Greedy

0502-ipo
0853-most-profit-assigning-work
0982-minimum-increment-to-make-array-unique
1285-balance-a-binary-search-tree
2148-minimum-number-of-moves-to-seat-everyone
2572-append-characters-to-string-to-make-subsequence

Array

0016-3sum-closest
0075-sort-colors
0502-ipo
0648-replace-words
0853-most-profit-assigning-work
0982-minimum-increment-to-make-array-unique
1016-subarray-sums-divisible-by-k
1037-minimum-number-of-k-consecutive-bit-flips
1044-find-common-characters
1138-grumpy-bookstore-owner
1217-relative-sort-array
1370-count-number-of-nice-subarrays
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1605-minimum-number-of-days-to-make-m-bouquets
1675-magnetic-force-between-two-balls
2148-minimum-number-of-moves-to-seat-everyone

Hash Table

0648-replace-words
1016-subarray-sums-divisible-by-k
1044-find-common-characters
1217-relative-sort-array
1370-count-number-of-nice-subarrays

Trie

0648-replace-words

Prefix Sum

1016-subarray-sums-divisible-by-k
1037-minimum-number-of-k-consecutive-bit-flips

Sorting

0016-3sum-closest
0075-sort-colors
0502-ipo
0853-most-profit-assigning-work
0982-minimum-increment-to-make-array-unique
1217-relative-sort-array
1675-magnetic-force-between-two-balls
2148-minimum-number-of-moves-to-seat-everyone

Counting Sort

0982-minimum-increment-to-make-array-unique
1217-relative-sort-array

Heap (Priority Queue)

0502-ipo
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Math

0633-sum-of-square-numbers
1370-count-number-of-nice-subarrays

Binary Search

0633-sum-of-square-numbers
0853-most-profit-assigning-work
1605-minimum-number-of-days-to-make-m-bouquets
1675-magnetic-force-between-two-balls

Sliding Window

1037-minimum-number-of-k-consecutive-bit-flips
1138-grumpy-bookstore-owner
1370-count-number-of-nice-subarrays
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Queue

1037-minimum-number-of-k-consecutive-bit-flips
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Ordered Set

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Monotonic Queue

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Bit Manipulation

1037-minimum-number-of-k-consecutive-bit-flips

Tree

1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Depth-First Search

1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Binary Search Tree

1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Binary Tree

1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Divide and Conquer

1285-balance-a-binary-search-tree

Graph

1916-find-center-of-star-graph

LeetCode Topics

Greedy

0011-container-with-most-water
0890-lemonade-change
1711-find-valid-matrix-given-row-and-column-sums
1818-maximum-score-from-removing-substrings
1911-minimum-elements-to-add-to-form-a-given-sum
2154-minimum-moves-to-convert-string
2379-maximum-total-importance-of-roads
3276-minimum-number-of-pushes-to-type-word-ii

Graph

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2379-maximum-total-importance-of-roads
2472-build-a-matrix-with-conditions

Sorting

0075-sort-colors
0628-maximum-product-of-three-numbers
0726-number-of-atoms
0948-sort-an-array
1253-sort-the-matrix-diagonally
1333-sort-the-jumbled-numbers
1615-range-sum-of-sorted-subarray-sums
1741-sort-array-by-increasing-frequency
2379-maximum-total-importance-of-roads
2502-sort-the-people
2846-robot-collisions
3276-minimum-number-of-pushes-to-type-word-ii

Heap (Priority Queue)

0948-sort-an-array
2379-maximum-total-importance-of-roads

Array

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0075-sort-colors
0137-single-number-ii
0283-move-zeroes
0628-maximum-product-of-three-numbers
0870-magic-squares-in-grid
0890-lemonade-change
0921-spiral-matrix-iii
0948-sort-an-array
0999-regions-cut-by-slashes
1196-filling-bookcase-shelves
1207-delete-nodes-and-return-forest
1253-sort-the-matrix-diagonally
1293-three-consecutive-odds
1333-sort-the-jumbled-numbers
1496-lucky-numbers-in-a-matrix
1511-count-number-of-teams
1615-range-sum-of-sorted-subarray-sums
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
1911-minimum-elements-to-add-to-form-a-given-sum
1951-find-the-winner-of-the-circular-game
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
2727-number-of-senior-citizens
2846-robot-collisions

Linked List

0908-middle-of-the-linked-list
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2299-merge-nodes-in-between-zeros

Simulation

0921-spiral-matrix-iii
1642-water-bottles
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2178-walking-robot-simulation-ii
2299-merge-nodes-in-between-zeros
2645-pass-the-pillow
2846-robot-collisions

Two Pointers

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0075-sort-colors
0283-move-zeroes
0392-is-subsequence
0908-middle-of-the-linked-list
1615-range-sum-of-sorted-subarray-sums

Math

0628-maximum-product-of-three-numbers
0870-magic-squares-in-grid
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2645-pass-the-pillow

Recursion

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

Queue

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

String

0383-ransom-note
0392-is-subsequence
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
2154-minimum-moves-to-convert-string
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2502-sort-the-people
2727-number-of-senior-citizens
3276-minimum-number-of-pushes-to-type-word-ii

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

Dynamic Programming

0392-is-subsequence
1196-filling-bookcase-shelves
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

Hash Table

0383-ransom-note
0726-number-of-atoms
0870-magic-squares-in-grid
0999-regions-cut-by-slashes
1207-delete-nodes-and-return-forest
1741-sort-array-by-increasing-frequency
2306-create-binary-tree-from-descriptions
2502-sort-the-people
3276-minimum-number-of-pushes-to-type-word-ii

Counting

0383-ransom-note
3276-minimum-number-of-pushes-to-type-word-ii

Bit Manipulation

0137-single-number-ii

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
1253-sort-the-matrix-diagonally
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

Depth-First Search

0999-regions-cut-by-slashes
1207-delete-nodes-and-return-forest
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

Design

2178-walking-robot-simulation-ii

Topological Sort

2472-build-a-matrix-with-conditions

Divide and Conquer

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance

Binary Indexed Tree

1511-count-number-of-teams

Sliding Window

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

Binary Search

1615-range-sum-of-sorted-subarray-sums

Breadth-First Search

0999-regions-cut-by-slashes
1691-minimum-number-of-days-to-disconnect-island

Union Find

0999-regions-cut-by-slashes

Strongly Connected Component

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

leetcode's People

Contributors

sreevidya-16 avatar

Watchers

 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.