DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Path With Minimum Effort

Path With Minimum Effort

3
Comments
2 min read
Next Greater Node In Linked List

Next Greater Node In Linked List

3
Comments
1 min read
Bulls and Cows

Bulls and Cows

3
Comments
2 min read
Minimum Number of Operations to Move All Balls to Each Box

Minimum Number of Operations to Move All Balls to Each Box

3
Comments
1 min read
Increasing Triplet Subsequence

Increasing Triplet Subsequence

3
Comments
1 min read
Longest Palindrome

Longest Palindrome

3
Comments
1 min read
Reduce Array Size to The Half

Reduce Array Size to The Half

Comments
1 min read
Triangle

Triangle

Comments
1 min read
Find First and Last Position of Element in Sorted Array

Find First and Last Position of Element in Sorted Array

Comments
1 min read
Sum of Root To Leaf Binary Numbers

Sum of Root To Leaf Binary Numbers

Comments
1 min read
Shortest Palindrome

Shortest Palindrome

3
Comments
1 min read
Design a Text Editor

Design a Text Editor

3
Comments
3 min read
Replace Elements in an Array

Replace Elements in an Array

4
Comments
2 min read
Arithmetic Slices

Arithmetic Slices

3
Comments
1 min read
Russian Doll Envelopes

Russian Doll Envelopes

Comments
1 min read
K-th Symbol in Grammar

K-th Symbol in Grammar

Comments
1 min read
Find First Palindromic String in the Array

Find First Palindromic String in the Array

Comments
1 min read
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

Comments
2 min read
Factorial Trailing Zeroes

Factorial Trailing Zeroes

Comments
1 min read
Basic Calculator II

Basic Calculator II

3
Comments
1 min read
All Ancestors of a Node in a Directed Acyclic Graph

All Ancestors of a Node in a Directed Acyclic Graph

3
Comments
2 min read
Unique Paths II

Unique Paths II

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

Best Time to Buy and Sell Stock

3
Comments
1 min read
Jump Game III

Jump Game III

3
Comments
1 min read
Insert Delete GetRandom O(1)

Insert Delete GetRandom O(1)

3
Comments
2 min read
200. Number of Islands 🚀

200. Number of Islands 🚀

7
Comments
5 min read
Power of Three

Power of Three

3
Comments
1 min read
Repeated Substring Pattern

Repeated Substring Pattern

Comments
1 min read
Keyboard Row

Keyboard Row

3
Comments
1 min read
Construct Binary Search Tree from Preorder Traversal

Construct Binary Search Tree from Preorder Traversal

3
Comments
2 min read
Push Dominoes

Push Dominoes

3
Comments
2 min read
Find Center of Star Graph

Find Center of Star Graph

3
Comments
1 min read
Unique Binary Search Trees

Unique Binary Search Trees

3
Comments
1 min read
3Sum

3Sum

3
Comments
1 min read
Random Flip Matrix

Random Flip Matrix

3
Comments
2 min read
Reverse Prefix of Word

Reverse Prefix of Word

3
Comments
1 min read
Removing Minimum Number of Magic Beans

Removing Minimum Number of Magic Beans

3
Comments
2 min read
Sort Array by Increasing Frequency

Sort Array by Increasing Frequency

3
Comments
1 min read
Check if There Is a Valid Parentheses String Path

Check if There Is a Valid Parentheses String Path

Comments
2 min read
Longest Common Subsequence

Longest Common Subsequence

3
Comments
1 min read
Design a Stack With Increment Operation

Design a Stack With Increment Operation

3
Comments
2 min read
Contains Duplicate

Contains Duplicate

3
Comments
1 min read
Palindromic Substrings

Palindromic Substrings

Comments
1 min read
Check if Binary String Has at Most One Segment of Ones

Check if Binary String Has at Most One Segment of Ones

Comments
1 min read
Sort the Jumbled Numbers

Sort the Jumbled Numbers

Comments
2 min read
Sequentially Ordinal Rank Tracker

Sequentially Ordinal Rank Tracker

3
Comments
3 min read
Linked List Random Node

Linked List Random Node

3
Comments
2 min read
Insert Interval

Insert Interval

3
Comments
1 min read
Find All Anagrams in a String

Find All Anagrams in a String

3
Comments
1 min read
Jump Game II

Jump Game II

3
Comments
1 min read
K Divisible Elements Subarrays

K Divisible Elements Subarrays

3
Comments
2 min read
160. Intersection of Two Linked Lists - Leetcode

160. Intersection of Two Linked Lists - Leetcode

8
Comments
1 min read
Find Smallest Letter Greater Than Target

Find Smallest Letter Greater Than Target

3
Comments
1 min read
Binary Search Tree Iterator

Binary Search Tree Iterator

3
Comments
2 min read
Remove All Adjacent Duplicates in String II

Remove All Adjacent Duplicates in String II

3
Comments
1 min read
Remove Invalid Parentheses

Remove Invalid Parentheses

3
Comments
1 min read
Design an ATM Machine

Design an ATM Machine

Comments
3 min read
Check If It Is a Straight Line

Check If It Is a Straight Line

Comments
1 min read
Is Graph Bipartite?

Is Graph Bipartite?

Comments
2 min read
Count Elements With Strictly Smaller and Greater Elements

Count Elements With Strictly Smaller and Greater Elements

3
Comments
1 min read
loading...