DEV Community

Leetcode Solutions Series' Articles

Back to seanpgallivan's Series
Solution: Check If a String Contains All Binary Codes of Size K
Cover image for Solution: Check If a String Contains All Binary Codes of Size K

Solution: Check If a String Contains All Binary Codes of Size K

15
Comments
4 min read
Solution: Binary Trees With Factors
Cover image for Solution: Binary Trees With Factors

Solution: Binary Trees With Factors

9
Comments 2
4 min read
Solution: Swapping Nodes in a Linked List
Cover image for Solution: Swapping Nodes in a Linked List

Solution: Swapping Nodes in a Linked List

19
Comments
3 min read
Solution: Encode and Decode TinyURL
Cover image for Solution: Encode and Decode TinyURL

Solution: Encode and Decode TinyURL

20
Comments
3 min read
Solution: Best Time to Buy and Sell Stock with Transaction Fee
Cover image for Solution: Best Time to Buy and Sell Stock with Transaction Fee

Solution: Best Time to Buy and Sell Stock with Transaction Fee

17
Comments
4 min read
Solution: Generate Random Point in a Circle
Cover image for Solution: Generate Random Point in a Circle

Solution: Generate Random Point in a Circle

25
Comments
4 min read
Solution: Wiggle Subsequence
Cover image for Solution: Wiggle Subsequence

Solution: Wiggle Subsequence

9
Comments
3 min read
Solution: Keys and Rooms
Cover image for Solution: Keys and Rooms

Solution: Keys and Rooms

22
Comments
3 min read
Solution: Design Underground System
Cover image for Solution: Design Underground System

Solution: Design Underground System

13
Comments
5 min read
Solution: Reordered Power of 2
Cover image for Solution: Reordered Power of 2

Solution: Reordered Power of 2

5
Comments 1
3 min read
Solution: Vowel Spellchecker
Cover image for Solution: Vowel Spellchecker

Solution: Vowel Spellchecker

17
Comments
5 min read
Solution: 3Sum With Multiplicity
Cover image for Solution: 3Sum With Multiplicity

Solution: 3Sum With Multiplicity

9
Comments
6 min read
Solution: Advantage Shuffle
Cover image for Solution: Advantage Shuffle

Solution: Advantage Shuffle

10
Comments
4 min read
Solution: Pacific Atlantic Water Flow
Cover image for Solution: Pacific Atlantic Water Flow

Solution: Pacific Atlantic Water Flow

7
Comments
5 min read
Solution: Word Subsets
Cover image for Solution: Word Subsets

Solution: Word Subsets

12
Comments 4
5 min read
Solution: Palindromic Substrings
Cover image for Solution: Palindromic Substrings

Solution: Palindromic Substrings

10
Comments
3 min read
Solution: Reconstruct Original Digits from English
Cover image for Solution: Reconstruct Original Digits from English

Solution: Reconstruct Original Digits from English

9
Comments
4 min read
Solution: Flip Binary Tree To Match Preorder Traversal
Cover image for Solution: Flip Binary Tree To Match Preorder Traversal

Solution: Flip Binary Tree To Match Preorder Traversal

7
Comments
4 min read
Solution: Russian Doll Envelopes
Cover image for Solution: Russian Doll Envelopes

Solution: Russian Doll Envelopes

12
Comments 1
4 min read
Solution: Stamping The Sequence
Cover image for Solution: Stamping The Sequence

Solution: Stamping The Sequence

9
Comments
5 min read
Solution: Palindrome Linked List
Cover image for Solution: Palindrome Linked List

Solution: Palindrome Linked List

26
Comments 3
4 min read
Solution: Ones and Zeroes
Cover image for Solution: Ones and Zeroes

Solution: Ones and Zeroes

22
Comments
4 min read
Solution: Longest Valid Parentheses
Cover image for Solution: Longest Valid Parentheses

Solution: Longest Valid Parentheses

32
Comments 4
4 min read
Solution: Design Circular Queue
Cover image for Solution: Design Circular Queue

Solution: Design Circular Queue

17
Comments 1
7 min read
Solution: Global and Local Inversions
Cover image for Solution: Global and Local Inversions

Solution: Global and Local Inversions

16
Comments
3 min read
Solution: Minimum Operations to Make Array Equal
Cover image for Solution: Minimum Operations to Make Array Equal

Solution: Minimum Operations to Make Array Equal

13
Comments
4 min read
Solution: Determine if String Halves Are Alike
Cover image for Solution: Determine if String Halves Are Alike

Solution: Determine if String Halves Are Alike

9
Comments 2
3 min read
Solution: Letter Combinations of a Phone Number
Cover image for Solution: Letter Combinations of a Phone Number

Solution: Letter Combinations of a Phone Number

34
Comments 2
4 min read
Solution: Verifying an Alien Dictionary
Cover image for Solution: Verifying an Alien Dictionary

Solution: Verifying an Alien Dictionary

11
Comments
4 min read
Solution: Longest Increasing Path in a Matrix
Cover image for Solution: Longest Increasing Path in a Matrix

Solution: Longest Increasing Path in a Matrix

6
Comments
4 min read