Skip to content

Gewaly/Leetcode_Solved_Problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,136 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0066-plus-one
0085-maximal-rectangle
0136-single-number
0840-magic-squares-in-grid
0944-delete-columns-to-make-sorted
0955-delete-columns-to-make-sorted-ii
0960-delete-columns-to-make-sorted-iii
0961-n-repeated-element-in-size-2n-array
1200-minimum-absolute-difference
1351-count-negative-numbers-in-a-sorted-matrix
1390-four-divisors
1458-max-dot-product-of-two-subsequences
1582-special-positions-in-a-binary-matrix
1970-last-day-where-you-can-still-cross
1975-maximum-matrix-sum
1980-find-unique-binary-string
1984-minimum-difference-between-highest-and-lowest-of-k-scores
2054-two-best-non-overlapping-events
2110-number-of-smooth-descent-periods-of-a-stock
2402-meeting-rooms-iii
2943-maximize-area-of-square-hole-in-grid
3010-divide-an-array-into-subarrays-with-minimum-cost-i
3047-find-the-largest-area-of-square-inside-two-rectangles
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children
3314-construct-the-minimum-bitwise-array-i
3453-separate-squares-i
3454-separate-squares-ii
3562-maximum-profit-from-trading-stocks-with-discounts
3573-best-time-to-buy-and-sell-stock-v
3637-trionic-array-i
3640-trionic-array-ii
3652-best-time-to-buy-and-sell-stock-using-strategy
3719-longest-balanced-subarray-i

Bit Manipulation

0067-add-binary
0136-single-number
0756-pyramid-transition-matrix
3314-construct-the-minimum-bitwise-array-i

Math

0066-plus-one
0067-add-binary
0840-magic-squares-in-grid
1390-four-divisors
2110-number-of-smooth-descent-periods-of-a-stock
3047-find-the-largest-area-of-square-inside-two-rectangles

Dynamic Programming

0085-maximal-rectangle
0960-delete-columns-to-make-sorted-iii
1411-number-of-ways-to-paint-n-3-grid
1458-max-dot-product-of-two-subsequences
2054-two-best-non-overlapping-events
2110-number-of-smooth-descent-periods-of-a-stock
3562-maximum-profit-from-trading-stocks-with-discounts
3573-best-time-to-buy-and-sell-stock-v
3640-trionic-array-ii

Tree

0110-balanced-binary-tree
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
1382-balance-a-binary-search-tree
3562-maximum-profit-from-trading-stocks-with-discounts

Depth-First Search

0110-balanced-binary-tree
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
1382-balance-a-binary-search-tree
1970-last-day-where-you-can-still-cross
3562-maximum-profit-from-trading-stocks-with-discounts

Sliding Window

1984-minimum-difference-between-highest-and-lowest-of-k-scores
3652-best-time-to-buy-and-sell-stock-using-strategy

Prefix Sum

2483-minimum-penalty-for-a-shop
3652-best-time-to-buy-and-sell-stock-using-strategy
3719-longest-balanced-subarray-i

String

0067-add-binary
0756-pyramid-transition-matrix
0944-delete-columns-to-make-sorted
0955-delete-columns-to-make-sorted-ii
0960-delete-columns-to-make-sorted-iii
1980-find-unique-binary-string
2483-minimum-penalty-for-a-shop

Greedy

0955-delete-columns-to-make-sorted-ii
1382-balance-a-binary-search-tree
1975-maximum-matrix-sum
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children

Binary Search

1351-count-negative-numbers-in-a-sorted-matrix
1970-last-day-where-you-can-still-cross
2054-two-best-non-overlapping-events
3453-separate-squares-i
3454-separate-squares-ii

Sorting

1200-minimum-absolute-difference
1984-minimum-difference-between-highest-and-lowest-of-k-scores
2054-two-best-non-overlapping-events
2402-meeting-rooms-iii
2943-maximize-area-of-square-hole-in-grid
3010-divide-an-array-into-subarrays-with-minimum-cost-i
3074-apple-redistribution-into-boxes
3075-maximize-happiness-of-selected-children

Heap (Priority Queue)

2054-two-best-non-overlapping-events
2402-meeting-rooms-iii
3650-minimum-cost-path-with-edge-reversals

Hash Table

0756-pyramid-transition-matrix
0840-magic-squares-in-grid
0961-n-repeated-element-in-size-2n-array
1980-find-unique-binary-string
2402-meeting-rooms-iii
3719-longest-balanced-subarray-i

Simulation

0067-add-binary
2402-meeting-rooms-iii

Matrix

0085-maximal-rectangle
0840-magic-squares-in-grid
1351-count-negative-numbers-in-a-sorted-matrix
1582-special-positions-in-a-binary-matrix
1970-last-day-where-you-can-still-cross
1975-maximum-matrix-sum

Backtracking

0756-pyramid-transition-matrix
1980-find-unique-binary-string

Breadth-First Search

1161-maximum-level-sum-of-a-binary-tree
1970-last-day-where-you-can-still-cross

Union Find

1970-last-day-where-you-can-still-cross

Binary Tree

0110-balanced-binary-tree
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
1382-balance-a-binary-search-tree

Stack

0085-maximal-rectangle

Monotonic Stack

0085-maximal-rectangle

Segment Tree

3454-separate-squares-ii
3719-longest-balanced-subarray-i

Line Sweep

3454-separate-squares-ii

Geometry

3047-find-the-largest-area-of-square-inside-two-rectangles

Graph Theory

3650-minimum-cost-path-with-edge-reversals

Shortest Path

3650-minimum-cost-path-with-edge-reversals

Enumeration

3010-divide-an-array-into-subarrays-with-minimum-cost-i

Divide and Conquer

1382-balance-a-binary-search-tree
3719-longest-balanced-subarray-i

Binary Search Tree

1382-balance-a-binary-search-tree

About

LeetCode Daily Challenge Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors