Skip to content

saad0077-ss/leetcode-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

210 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-solution

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

LeetCode Topics

String

1189-maximum-number-of-balloons
3110-score-of-a-string
3120-count-the-number-of-special-characters-i
3612-process-string-with-special-operations-i
3614-process-string-with-special-operations-ii
3838-weighted-word-mapping

Array

0283-move-zeroes
1051-height-checker
1732-find-the-highest-altitude
1840-maximum-building-height
2089-find-target-indices-after-sorting-array
2144-minimum-cost-of-buying-candies-with-discount
2161-partition-array-according-to-given-pivot
2176-count-equal-and-divisible-pairs-in-an-array
2196-create-binary-tree-from-descriptions
2574-left-and-right-sum-differences
3559-number-of-ways-to-assign-edge-weights-ii
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii
3689-maximum-total-subarray-value-i
3691-maximum-total-subarray-value-ii
3838-weighted-word-mapping

Sorting

1051-height-checker
1840-maximum-building-height
2089-find-target-indices-after-sorting-array
2144-minimum-cost-of-buying-candies-with-discount
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Counting Sort

1051-height-checker
1189-maximum-number-of-balloons

Two Pointers

0283-move-zeroes
2095-delete-the-middle-node-of-a-linked-list
2130-maximum-twin-sum-of-a-linked-list
2161-partition-array-according-to-given-pivot
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0543-diameter-of-binary-tree
0700-search-in-a-binary-search-tree
0701-insert-into-a-binary-search-tree
2196-create-binary-tree-from-descriptions
3558-number-of-ways-to-assign-edge-weights-i
3559-number-of-ways-to-assign-edge-weights-ii

Depth-First Search

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0543-diameter-of-binary-tree
3558-number-of-ways-to-assign-edge-weights-i
3559-number-of-ways-to-assign-edge-weights-ii

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0226-invert-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0543-diameter-of-binary-tree
0700-search-in-a-binary-search-tree
0701-insert-into-a-binary-search-tree
2196-create-binary-tree-from-descriptions

Hash Table

1189-maximum-number-of-balloons
2196-create-binary-tree-from-descriptions
3120-count-the-number-of-special-characters-i

Linked List

0114-flatten-binary-tree-to-linked-list
2095-delete-the-middle-node-of-a-linked-list
2130-maximum-twin-sum-of-a-linked-list

Stack

0094-binary-tree-inorder-traversal
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
2130-maximum-twin-sum-of-a-linked-list

Binary Search

2089-find-target-indices-after-sorting-array
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Greedy

2144-minimum-cost-of-buying-candies-with-discount
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii
3689-maximum-total-subarray-value-i
3691-maximum-total-subarray-value-ii

Math

1344-angle-between-hands-of-a-clock
1840-maximum-building-height
3558-number-of-ways-to-assign-edge-weights-i
3559-number-of-ways-to-assign-edge-weights-ii
3700-number-of-zigzag-arrays-ii
3751-total-waviness-of-numbers-in-range-i
3753-total-waviness-of-numbers-in-range-ii

Dynamic Programming

3559-number-of-ways-to-assign-edge-weights-ii
3699-number-of-zigzag-arrays-i
3700-number-of-zigzag-arrays-ii
3751-total-waviness-of-numbers-in-range-i
3753-total-waviness-of-numbers-in-range-ii

Enumeration

3751-total-waviness-of-numbers-in-range-i

Prefix Sum

1732-find-the-highest-altitude
2574-left-and-right-sum-differences
3699-number-of-zigzag-arrays-i

Binary Search Tree

0098-validate-binary-search-tree
0700-search-in-a-binary-search-tree
0701-insert-into-a-binary-search-tree

Simulation

2161-partition-array-according-to-given-pivot
3612-process-string-with-special-operations-i
3614-process-string-with-special-operations-ii
3838-weighted-word-mapping

Segment Tree

3691-maximum-total-subarray-value-ii

Heap (Priority Queue)

3691-maximum-total-subarray-value-ii

Bit Manipulation

3559-number-of-ways-to-assign-edge-weights-ii

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