DEV Community

Leetcode Solutions Series' Articles

Back to seanpgallivan's Series
Solution: The K Weakest Rows in a Matrix (ver. 2)
Cover image for Solution: The K Weakest Rows in a Matrix (ver. 2)

Solution: The K Weakest Rows in a Matrix (ver. 2)

9
Comments
5 min read
Solution: Letter Case Permutation
Cover image for Solution: Letter Case Permutation

Solution: Letter Case Permutation

10
Comments 1
3 min read
Solution: Container With Most Water
Cover image for Solution: Container With Most Water

Solution: Container With Most Water

34
Comments 5
4 min read
Solution: Arithmetic Slices
Cover image for Solution: Arithmetic Slices

Solution: Arithmetic Slices

9
Comments
4 min read
Solution: Minimum Remove to Make Valid Parentheses
Cover image for Solution: Minimum Remove to Make Valid Parentheses

Solution: Minimum Remove to Make Valid Parentheses

10
Comments 2
4 min read
Solution: Roman to Integer
Cover image for Solution: Roman to Integer

Solution: Roman to Integer

103
Comments 25
4 min read
Solution: Broken Calculator
Cover image for Solution: Broken Calculator

Solution: Broken Calculator

9
Comments 2
4 min read
Solution: Find the Most Competitive Subsequence
Cover image for Solution: Find the Most Competitive Subsequence

Solution: Find the Most Competitive Subsequence

7
Comments
3 min read
Solution: Longest Word in Dictionary through Deleting
Cover image for Solution: Longest Word in Dictionary through Deleting

Solution: Longest Word in Dictionary through Deleting

5
Comments
3 min read
Solution: Search a 2D Matrix II
Cover image for Solution: Search a 2D Matrix II

Solution: Search a 2D Matrix II

8
Comments 1
3 min read
Solution: Score of Parentheses
Cover image for Solution: Score of Parentheses

Solution: Score of Parentheses

8
Comments
3 min read
Solution: Shortest Unsorted Continuous Subarray
Cover image for Solution: Shortest Unsorted Continuous Subarray

Solution: Shortest Unsorted Continuous Subarray

8
Comments
4 min read
Solution: Validate Stack Sequences
Cover image for Solution: Validate Stack Sequences

Solution: Validate Stack Sequences

8
Comments
3 min read
Solution: Divide Two Integers (ver. 1)
Cover image for Solution: Divide Two Integers (ver. 1)

Solution: Divide Two Integers (ver. 1)

11
Comments
4 min read
Solution: Divide Two Integers (ver. 2)
Cover image for Solution: Divide Two Integers (ver. 2)

Solution: Divide Two Integers (ver. 2)

7
Comments
3 min read
Solution: Maximum Frequency Stack
Cover image for Solution: Maximum Frequency Stack

Solution: Maximum Frequency Stack

9
Comments
4 min read
Solution: Distribute Candies
Cover image for Solution: Distribute Candies

Solution: Distribute Candies

9
Comments
3 min read
Solution: Set Mismatch (ver. 1)
Cover image for Solution: Set Mismatch (ver. 1)

Solution: Set Mismatch (ver. 1)

11
Comments
3 min read
Solution: Set Mismatch (ver. 2)
Cover image for Solution: Set Mismatch (ver. 2)

Solution: Set Mismatch (ver. 2)

9
Comments 4
3 min read
Solution: Missing Number
Cover image for Solution: Missing Number

Solution: Missing Number

6
Comments 3
2 min read
Solution: Intersection of Two Linked Lists
Cover image for Solution: Intersection of Two Linked Lists

Solution: Intersection of Two Linked Lists

52
Comments 1
4 min read
Solution: Average of Levels in Binary Tree
Cover image for Solution: Average of Levels in Binary Tree

Solution: Average of Levels in Binary Tree

18
Comments
3 min read
Solution: Short Encoding of Words (ver. 1)
Cover image for Solution: Short Encoding of Words (ver. 1)

Solution: Short Encoding of Words (ver. 1)

6
Comments
4 min read
Solution: Design HashMap (ver. 1)
Cover image for Solution: Design HashMap (ver. 1)

Solution: Design HashMap (ver. 1)

27
Comments 3
3 min read
Solution: Short Encoding of Words (ver. 2)
Cover image for Solution: Short Encoding of Words (ver. 2)

Solution: Short Encoding of Words (ver. 2)

8
Comments
5 min read
Solution: Design HashMap (ver. 2)
Cover image for Solution: Design HashMap (ver. 2)

Solution: Design HashMap (ver. 2)

22
Comments
6 min read
Solution: Remove Palindromic Subsequences
Cover image for Solution: Remove Palindromic Subsequences

Solution: Remove Palindromic Subsequences

7
Comments
3 min read
Solution: Add One Row to Tree
Cover image for Solution: Add One Row to Tree

Solution: Add One Row to Tree

13
Comments
4 min read
Solution: Integer to Roman
Cover image for Solution: Integer to Roman

Solution: Integer to Roman

24
Comments 2
3 min read
Solution: Coin Change
Cover image for Solution: Coin Change

Solution: Coin Change

11
Comments 1
4 min read