LeetCode

LeetCode-Practices

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

Two Pointers

| | | ——- | | 0853-most-profit-assigning-work | | 2572-append-characters-to-string-to-make-subsequence |

String

| | | ——- | | 2572-append-characters-to-string-to-make-subsequence |

Greedy

| | | ——- | | 0330-patching-array | | 0853-most-profit-assigning-work | | 2572-append-characters-to-string-to-make-subsequence |

Array

| | | ——- | | 0330-patching-array | | 0853-most-profit-assigning-work | | 1370-count-number-of-nice-subarrays |

Binary Search

| | | ——- | | 0853-most-profit-assigning-work |

Sorting

| | | ——- | | 0853-most-profit-assigning-work |

Hash Table

| | | ——- | | 1370-count-number-of-nice-subarrays |

Math

| | | ——- | | 1370-count-number-of-nice-subarrays |

Sliding Window

| | | ——- | | 1370-count-number-of-nice-subarrays |

LeetCode Topics

Linked List

| | | ——- | | 2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points | | 2299-merge-nodes-in-between-zeros |

Simulation

| | | ——- | | 2006-find-the-student-that-will-replace-the-chalk | | 2076-sum-of-digits-of-string-after-convert | | 2299-merge-nodes-in-between-zeros | | 2645-pass-the-pillow |

Math

| | | ——- | | 0264-ugly-number-ii | | 2645-pass-the-pillow |

Array

| | | ——- | | 1556-make-two-arrays-equal-by-reversing-subarrays | | 2006-find-the-student-that-will-replace-the-chalk | | 2035-count-sub-islands | | 2255-minimum-swaps-to-group-all-1s-together-ii | | 2727-number-of-senior-citizens |

String

| | | ——- | | 2076-sum-of-digits-of-string-after-convert | | 2727-number-of-senior-citizens |

Sliding Window

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

Hash Table

| | | ——- | | 0264-ugly-number-ii | | 0984-most-stones-removed-with-same-row-or-column | | 1556-make-two-arrays-equal-by-reversing-subarrays |

Sorting

| | | ——- | | 1556-make-two-arrays-equal-by-reversing-subarrays |

Dynamic Programming

| | | ——- | | 0264-ugly-number-ii |

Heap (Priority Queue)

| | | ——- | | 0264-ugly-number-ii |

Bit Manipulation

| | | ——- | | 0476-number-complement |

| | | ——- | | 0984-most-stones-removed-with-same-row-or-column | | 2035-count-sub-islands |

| | | ——- | | 2035-count-sub-islands |

Union Find

| | | ——- | | 0984-most-stones-removed-with-same-row-or-column | | 2035-count-sub-islands |

Matrix

| | | ——- | | 2035-count-sub-islands |

Graph

| | | ——- | | 0984-most-stones-removed-with-same-row-or-column |

Binary Search

| | | ——- | | 2006-find-the-student-that-will-replace-the-chalk |

Prefix Sum

| | | ——- | | 2006-find-the-student-that-will-replace-the-chalk |