DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Finding the Longest Common Prefix

Finding the Longest Common Prefix

12
Comments 2
5 min read
Invert a Binary tree Leetcode solution

Invert a Binary tree Leetcode solution

6
Comments 3
1 min read
The Longest Substring With No Repeating Characters

The Longest Substring With No Repeating Characters

11
Comments 1
6 min read
Another Algorithm: Rotate Array with JavaScript

Another Algorithm: Rotate Array with JavaScript

7
Comments
3 min read
Leetcode Problem: Three sum

Leetcode Problem: Three sum

7
Comments 1
3 min read
Finding the Intersection of Two Arrays

Finding the Intersection of Two Arrays

8
Comments 1
3 min read
Leetcode May Challenge "Count Square Submatrices with All Ones"

Leetcode May Challenge "Count Square Submatrices with All Ones"

10
Comments 1
4 min read
The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array

The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array

22
Comments 2
5 min read
LeetCode: Online Stock Span

LeetCode: Online Stock Span

6
Comments
2 min read
LeetCode: Permutation in String

LeetCode: Permutation in String

8
Comments
2 min read
LeetCode: Odd Even Linked List

LeetCode: Odd Even Linked List

5
Comments
2 min read
LeetCode: Find All Anagrams in a String

LeetCode: Find All Anagrams in a String

6
Comments
2 min read
LeetCode: Maximum Sum Circular Subarray

LeetCode: Maximum Sum Circular Subarray

7
Comments
5 min read
Backspace String Comparisons: Two Ways To Approach a Common Algorithm

Backspace String Comparisons: Two Ways To Approach a Common Algorithm

12
Comments 6
7 min read
Finding the Only Single Number in an Array

Finding the Only Single Number in an Array

20
Comments 4
3 min read
The Happy Number Problem

The Happy Number Problem

82
Comments 9
4 min read
LeetCode: Remove K Digits

LeetCode: Remove K Digits

3
Comments
4 min read
LeetCode: Single Element in a Sorted Array

LeetCode: Single Element in a Sorted Array

5
Comments
2 min read
LeetCode: Flood Fill

LeetCode: Flood Fill

7
Comments
3 min read
Solution to Leetcode's Flood Fill Question (interesting Question)

Solution to Leetcode's Flood Fill Question (interesting Question)

4
Comments
3 min read
Best Time to Buy and Sell Stock

Best Time to Buy and Sell Stock

7
Comments
2 min read
Two Sum

Two Sum

4
Comments
3 min read
LeetCode: Find the Town Judge

LeetCode: Find the Town Judge

6
Comments
2 min read
Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II

Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II

4
Comments
2 min read
Solution to Leetcode’s Valid Perfect Square

Solution to Leetcode’s Valid Perfect Square

5
Comments
2 min read
loading...