DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

68
Comments 10
5 min read
Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees

Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees

21
Comments 2
6 min read
Not an "Easy" Algorithm: Rotating an Array, Three Ways

Not an "Easy" Algorithm: Rotating an Array, Three Ways

89
Comments 19
11 min read
Searching an Array, Two Ways

Searching an Array, Two Ways

9
Comments 3
6 min read
Sudoku Part I: Is the Board Valid?

Sudoku Part I: Is the Board Valid?

10
Comments
9 min read
The Longest Palindromic Substring: Solving the Problem Using Constant Space

The Longest Palindromic Substring: Solving the Problem Using Constant Space

67
Comments 5
14 min read
Container with Most Water

Container with Most Water

7
Comments 4
5 min read
Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List

Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List

11
Comments
5 min read
Solving the Best Time to Buy and Sell Stocks Problem in One Pass

Solving the Best Time to Buy and Sell Stocks Problem in One Pass

28
Comments 2
7 min read
Removing an Element in an Array In-Place

Removing an Element in an Array In-Place

28
Comments 3
5 min read
The ZigZag Conversion Problem

The ZigZag Conversion Problem

31
Comments 1
7 min read
Reversing a String in Place

Reversing a String in Place

15
Comments 2
4 min read
Finding the Longest Common Prefix

Finding the Longest Common Prefix

12
Comments 2
5 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.