DEV Community

#LEETCODE Series' Articles

Back to MD ARIFUL HAQUE's Series
623. Add One Row to Tree
Cover image for 623. Add One Row to Tree

623. Add One Row to Tree

Comments
2 min read
988. Smallest String Starting From Leaf
Cover image for 988. Smallest String Starting From Leaf

988. Smallest String Starting From Leaf

Comments
2 min read
463. Island Perimeter
Cover image for 463. Island Perimeter

463. Island Perimeter

1
Comments
1 min read
200. Number of Islands
Cover image for 200. Number of Islands

200. Number of Islands

1
Comments
1 min read
1992. Find All Groups of Farmland
Cover image for 1992. Find All Groups of Farmland

1992. Find All Groups of Farmland

Comments
3 min read
752. Open the Lock
Cover image for 752. Open the Lock

752. Open the Lock

Comments
2 min read
1971. Find if Path Exists in Graph
Cover image for 1971. Find if Path Exists in Graph

1971. Find if Path Exists in Graph

1
Comments
2 min read
310. Minimum Height Trees
Cover image for 310. Minimum Height Trees

310. Minimum Height Trees

1
Comments
2 min read
1137. N-th Tribonacci Number
Cover image for 1137. N-th Tribonacci Number

1137. N-th Tribonacci Number

Comments
1 min read
2370. Longest Ideal Subsequence
Cover image for 2370. Longest Ideal Subsequence

2370. Longest Ideal Subsequence

Comments
2 min read
1289. Minimum Falling Path Sum II
Cover image for 1289. Minimum Falling Path Sum II

1289. Minimum Falling Path Sum II

Comments
1 min read
514. Freedom Trail
Cover image for 514. Freedom Trail

514. Freedom Trail

Comments
2 min read
834. Sum of Distances in Tree
Cover image for 834. Sum of Distances in Tree

834. Sum of Distances in Tree

Comments
2 min read
1700. Number of Students Unable to Eat Lunch
Cover image for 1700. Number of Students Unable to Eat Lunch

1700. Number of Students Unable to Eat Lunch

Comments
2 min read
2073. Time Needed to Buy Tickets
Cover image for 2073. Time Needed to Buy Tickets

2073. Time Needed to Buy Tickets

Comments
2 min read
2997. Minimum Number of Operations to Make Array XOR Equal to K
Cover image for 2997. Minimum Number of Operations to Make Array XOR Equal to K

2997. Minimum Number of Operations to Make Array XOR Equal to K

Comments
2 min read
1614. Maximum Nesting Depth of the Parentheses
Cover image for 1614. Maximum Nesting Depth of the Parentheses

1614. Maximum Nesting Depth of the Parentheses

Comments
2 min read
1544. Make The String Great
Cover image for 1544. Make The String Great

1544. Make The String Great

Comments
1 min read
1915. Number of Wonderful Substrings
Cover image for 1915. Number of Wonderful Substrings

1915. Number of Wonderful Substrings

Comments
1 min read
1249. Minimum Remove to Make Valid Parentheses
Cover image for 1249. Minimum Remove to Make Valid Parentheses

1249. Minimum Remove to Make Valid Parentheses

Comments
1 min read
950. Reveal Cards In Increasing Order
Cover image for 950. Reveal Cards In Increasing Order

950. Reveal Cards In Increasing Order

Comments
2 min read
678. Valid Parenthesis String
Cover image for 678. Valid Parenthesis String

678. Valid Parenthesis String

Comments
1 min read
2000. Reverse Prefix of Word
Cover image for 2000. Reverse Prefix of Word

2000. Reverse Prefix of Word

Comments
1 min read
79. Word Search
Cover image for 79. Word Search

79. Word Search

1
Comments
2 min read
129. Sum Root to Leaf Numbers
Cover image for 129. Sum Root to Leaf Numbers

129. Sum Root to Leaf Numbers

Comments
2 min read
2441. Largest Positive Integer That Exists With Its Negative
Cover image for 2441. Largest Positive Integer That Exists With Its Negative

2441. Largest Positive Integer That Exists With Its Negative

Comments
1 min read
58. Length of Last Word
Cover image for 58. Length of Last Word

58. Length of Last Word

Comments
1 min read
205. Isomorphic Strings
Cover image for 205. Isomorphic Strings

205. Isomorphic Strings

Comments
1 min read
165. Compare Version Numbers
Cover image for 165. Compare Version Numbers

165. Compare Version Numbers

Comments
2 min read
402. Remove K Digits
Cover image for 402. Remove K Digits

402. Remove K Digits

Comments
1 min read
42. Trapping Rain Water
Cover image for 42. Trapping Rain Water

42. Trapping Rain Water

Comments
1 min read
881. Boats to Save People
Cover image for 881. Boats to Save People

881. Boats to Save People

Comments
1 min read
237. Delete Node in a Linked List
Cover image for 237. Delete Node in a Linked List

237. Delete Node in a Linked List

Comments
2 min read
85. Maximal Rectangle
Cover image for 85. Maximal Rectangle

85. Maximal Rectangle

1
Comments
1 min read
404. Sum of Left Leaves
Cover image for 404. Sum of Left Leaves

404. Sum of Left Leaves

Comments
1 min read
2487. Remove Nodes From Linked List
Cover image for 2487. Remove Nodes From Linked List

2487. Remove Nodes From Linked List

Comments
1 min read
2816. Double a Number Represented as a Linked List
Cover image for 2816. Double a Number Represented as a Linked List

2816. Double a Number Represented as a Linked List

Comments
1 min read
445. Add Two Numbers II
Cover image for 445. Add Two Numbers II

445. Add Two Numbers II

Comments
2 min read
506. Relative Ranks
Cover image for 506. Relative Ranks

506. Relative Ranks

Comments
2 min read
1. Two Sum
Cover image for 1. Two Sum

1. Two Sum

Comments
1 min read
3075. Maximize Happiness of Selected Children
Cover image for 3075. Maximize Happiness of Selected Children

3075. Maximize Happiness of Selected Children

1
Comments
2 min read
2. Add Two Numbers
Cover image for 2. Add Two Numbers

2. Add Two Numbers

Comments
2 min read
786. K-th Smallest Prime Fraction
Cover image for 786. K-th Smallest Prime Fraction

786. K-th Smallest Prime Fraction

Comments
2 min read
3. Longest Substring Without Repeating Characters
Cover image for 3. Longest Substring Without Repeating Characters

3. Longest Substring Without Repeating Characters

Comments
1 min read
3123. Find Edges in Shortest Paths
Cover image for 3123. Find Edges in Shortest Paths

3123. Find Edges in Shortest Paths

1
Comments
2 min read
3122. Minimum Number of Operations to Satisfy Conditions
Cover image for 3122. Minimum Number of Operations to Satisfy Conditions

3122. Minimum Number of Operations to Satisfy Conditions

Comments
2 min read
3121. Count the Number of Special Characters II
Cover image for 3121. Count the Number of Special Characters II

3121. Count the Number of Special Characters II

Comments
1 min read
3113. Find the Number of Subarrays Where Boundary Elements Are Maximum
Cover image for 3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

Comments
2 min read
2570. Merge Two 2D Arrays by Summing Values solution
Cover image for 2570. Merge Two 2D Arrays by Summing Values solution

2570. Merge Two 2D Arrays by Summing Values solution

Comments
2 min read
2530. Maximal Score After Applying K Operations
Cover image for 2530. Maximal Score After Applying K Operations

2530. Maximal Score After Applying K Operations

Comments
2 min read
857. Minimum Cost to Hire K Workers
Cover image for 857. Minimum Cost to Hire K Workers

857. Minimum Cost to Hire K Workers

Comments
2 min read
4. Median of Two Sorted Arrays
Cover image for 4. Median of Two Sorted Arrays

4. Median of Two Sorted Arrays

Comments
1 min read
2373. Largest Local Values in a Matrix
Cover image for 2373. Largest Local Values in a Matrix

2373. Largest Local Values in a Matrix

Comments
2 min read
17. Letter Combinations of a Phone Number
Cover image for 17. Letter Combinations of a Phone Number

17. Letter Combinations of a Phone Number

Comments
1 min read
861. Score After Flipping Matrix
Cover image for 861. Score After Flipping Matrix

861. Score After Flipping Matrix

Comments
1 min read
1219. Path with Maximum Gold
Cover image for 1219. Path with Maximum Gold

1219. Path with Maximum Gold

Comments
2 min read
2812. Find the Safest Path in a Grid
Cover image for 2812. Find the Safest Path in a Grid

2812. Find the Safest Path in a Grid

1
Comments
3 min read
2331. Evaluate Boolean Binary Tree
Cover image for 2331. Evaluate Boolean Binary Tree

2331. Evaluate Boolean Binary Tree

1
Comments
2 min read
1325. Delete Leaves With a Given Value
Cover image for 1325. Delete Leaves With a Given Value

1325. Delete Leaves With a Given Value

Comments
2 min read
979. Distribute Coins in Binary Tree
Cover image for 979. Distribute Coins in Binary Tree

979. Distribute Coins in Binary Tree

2
Comments
2 min read
3068. Find the Maximum Sum of Node Values
Cover image for 3068. Find the Maximum Sum of Node Values

3068. Find the Maximum Sum of Node Values

5
Comments 1
3 min read
1863. Sum of All Subset XOR Totals
Cover image for 1863. Sum of All Subset XOR Totals

1863. Sum of All Subset XOR Totals

Comments
2 min read
78. Subsets
Cover image for 78. Subsets

78. Subsets

3
Comments
1 min read
131. Palindrome Partitioning
Cover image for 131. Palindrome Partitioning

131. Palindrome Partitioning

Comments
1 min read
2597. The Number of Beautiful Subsets
Cover image for 2597. The Number of Beautiful Subsets

2597. The Number of Beautiful Subsets

1
Comments
2 min read
1255. Maximum Score Words Formed by Letters
Cover image for 1255. Maximum Score Words Formed by Letters

1255. Maximum Score Words Formed by Letters

Comments
2 min read
140. Word Break II
Cover image for 140. Word Break II

140. Word Break II

Comments
1 min read
552. Student Attendance Record II
Cover image for 552. Student Attendance Record II

552. Student Attendance Record II

1
Comments
2 min read
1608. Special Array With X Elements Greater Than or Equal X
Cover image for 1608. Special Array With X Elements Greater Than or Equal X

1608. Special Array With X Elements Greater Than or Equal X

Comments
1 min read
1208. Get Equal Substrings Within Budget
Cover image for 1208. Get Equal Substrings Within Budget

1208. Get Equal Substrings Within Budget

Comments
2 min read
1404. Number of Steps to Reduce a Number in Binary Representation to One
Cover image for 1404. Number of Steps to Reduce a Number in Binary Representation to One

1404. Number of Steps to Reduce a Number in Binary Representation to One

3
Comments
2 min read
1442. Count Triplets That Can Form Two Arrays of Equal XOR
Cover image for 1442. Count Triplets That Can Form Two Arrays of Equal XOR

1442. Count Triplets That Can Form Two Arrays of Equal XOR

1
Comments
1 min read
260. Single Number III
Cover image for 260. Single Number III

260. Single Number III

1
Comments
1 min read
3110. Score of a String
Cover image for 3110. Score of a String

3110. Score of a String

2
Comments
1 min read
344. Reverse String
Cover image for 344. Reverse String

344. Reverse String

4
Comments
1 min read
2486. Append Characters to String to Make Subsequence
Cover image for 2486. Append Characters to String to Make Subsequence

2486. Append Characters to String to Make Subsequence

Comments
1 min read
409. Longest Palindrome
Cover image for 409. Longest Palindrome

409. Longest Palindrome

Comments
1 min read
1002. Find Common Characters
Cover image for 1002. Find Common Characters

1002. Find Common Characters

Comments
1 min read
846. Hand of Straights
Cover image for 846. Hand of Straights

846. Hand of Straights

Comments
1 min read
648. Replace Words
Cover image for 648. Replace Words

648. Replace Words

6
Comments
2 min read
523. Continuous Subarray Sum
Cover image for 523. Continuous Subarray Sum

523. Continuous Subarray Sum

5
Comments
2 min read
974. Subarray Sums Divisible by K
Cover image for 974. Subarray Sums Divisible by K

974. Subarray Sums Divisible by K

Comments
1 min read
1051. Height Checker
Cover image for 1051. Height Checker

1051. Height Checker

1
Comments
1 min read
1122. Relative Sort Array
Cover image for 1122. Relative Sort Array

1122. Relative Sort Array

1
Comments
1 min read
75. Sort Colors
Cover image for 75. Sort Colors

75. Sort Colors

Comments
1 min read
2037. Minimum Number of Moves to Seat Everyone
Cover image for 2037. Minimum Number of Moves to Seat Everyone

2037. Minimum Number of Moves to Seat Everyone

Comments
2 min read
945. Minimum Increment to Make Array Unique
Cover image for 945. Minimum Increment to Make Array Unique

945. Minimum Increment to Make Array Unique

1
Comments
1 min read
502. IPO
Cover image for 502. IPO

502. IPO

Comments
2 min read
330. Patching Array
Cover image for 330. Patching Array

330. Patching Array

Comments
1 min read
633. Sum of Square Numbers
Cover image for 633. Sum of Square Numbers

633. Sum of Square Numbers

Comments
1 min read
826. Most Profit Assigning Work
Cover image for 826. Most Profit Assigning Work

826. Most Profit Assigning Work

Comments
2 min read
1482. Minimum Number of Days to Make m Bouquets
Cover image for 1482. Minimum Number of Days to Make m Bouquets

1482. Minimum Number of Days to Make m Bouquets

Comments
2 min read