DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Fruit Into Baskets

Fruit Into Baskets

Comments
1 min read
Using Ruby to Translate Roman Numerals to Integers

Using Ruby to Translate Roman Numerals to Integers

5
Comments
4 min read
Baseball Game

Baseball Game

Comments
1 min read
Time Needed to Buy Tickets

Time Needed to Buy Tickets

Comments
1 min read
Longest Substring With K Distinct Characters

Longest Substring With K Distinct Characters

Comments
1 min read
Make The String Great

Make The String Great

Comments
1 min read
Smallest Contiguous Subarray Sum Equals K

Smallest Contiguous Subarray Sum Equals K

Comments
1 min read
Maximum Average Subarray I

Maximum Average Subarray I

Comments
1 min read
Number of Students Unable to Eat Lunch

Number of Students Unable to Eat Lunch

Comments
1 min read
LeetCode Daily Problem - 967. Numbers With Same Consecutive Differences

LeetCode Daily Problem - 967. Numbers With Same Consecutive Differences

3
Comments
2 min read
Majority Element -I

Majority Element -I

Comments
1 min read
Number of Island - I

Number of Island - I

3
Comments
1 min read
Maximum Number of Words Found in Sentences

Maximum Number of Words Found in Sentences

1
Comments
2 min read
Smallest Even Multiple

Smallest Even Multiple

3
Comments
1 min read
Length of the Longest Alphabetical Continuous Substring

Length of the Longest Alphabetical Continuous Substring

4
Comments
1 min read
Number of Lines To Write String

Number of Lines To Write String

1
Comments
1 min read
Decode Ways

Decode Ways

4
Comments
1 min read
Majority Element

Majority Element

1
Comments
1 min read
Find Original Array From Doubled Array

Find Original Array From Doubled Array

3
Comments
1 min read
Relative Ranks - I

Relative Ranks - I

3
Comments
1 min read
Word Break

Word Break

1
Comments
3 min read
Missing Number - I

Missing Number - I

1
Comments
1 min read
Single Number Check

Single Number Check

1
Comments
1 min read
Контейнер с наибольшим количеством воды

Контейнер с наибольшим количеством воды

47
Comments 5
1 min read
Rotate Right - LinkedList

Rotate Right - LinkedList

Comments
1 min read
Add Two Numbers - LinkedList

Add Two Numbers - LinkedList

3
Comments
2 min read
Обмен элементов в связном списке

Обмен элементов в связном списке

51
Comments
1 min read
🔥 Dart 🔥 Bag-of-Tokens || Leetcode || Easy and Simple Solution || 100% Faster Code || Explained Line By Line

🔥 Dart 🔥 Bag-of-Tokens || Leetcode || Easy and Simple Solution || 100% Faster Code || Explained Line By Line

2
Comments 1
4 min read
Вид сбоку бинарного дерева

Вид сбоку бинарного дерева

36
Comments 1
1 min read
76. Minimum Window Substring 🚀

76. Minimum Window Substring 🚀

5
Comments
3 min read
The Most Important Leetcode Patterns

The Most Important Leetcode Patterns

7
Comments
1 min read
Remove Duplicates from Sorted LinkedList

Remove Duplicates from Sorted LinkedList

4
Comments
1 min read
Cheapest Flights Within K Stops

Cheapest Flights Within K Stops

4
Comments 1
1 min read
Delete Nth Node From Last LinkedList

Delete Nth Node From Last LinkedList

1
Comments
1 min read
Smallest Number in Infinite Set

Smallest Number in Infinite Set

4
Comments
1 min read
Intersection of Two Linked Lists

Intersection of Two Linked Lists

6
Comments
1 min read
Detect Cycle LinkedList - II

Detect Cycle LinkedList - II

4
Comments
1 min read
Technical Interview - Code #007 - LeetCode #606. Construct String from Binary Tree

Technical Interview - Code #007 - LeetCode #606. Construct String from Binary Tree

Comments
1 min read
Detect Cycle LinkedList - I

Detect Cycle LinkedList - I

5
Comments 1
1 min read
Обход бинарного дерева

Обход бинарного дерева

34
Comments
1 min read
Construct String from Binary Tree

Construct String from Binary Tree

3
Comments
1 min read
Merge Two Sorted Linked List - I

Merge Two Sorted Linked List - I

3
Comments
1 min read
Verifying Valid Anagram

Verifying Valid Anagram

Comments
7 min read
Verify Path Sum

Verify Path Sum

Comments
4 min read
Binary Tree Pruning

Binary Tree Pruning

Comments
3 min read
Verify Contains Duplicate II

Verify Contains Duplicate II

Comments
5 min read
Verify Contains Duplicate I

Verify Contains Duplicate I

1
Comments
4 min read
Odd Even List - I

Odd Even List - I

Comments
1 min read
Odd Even List - Naive Approach

Odd Even List - Naive Approach

Comments
1 min read
Reverse Doubly Linked List

Reverse Doubly Linked List

Comments
1 min read
Объединение интервалов

Объединение интервалов

63
Comments 2
1 min read
Reverse Singly Linked List

Reverse Singly Linked List

1
Comments
1 min read
Trapping Rainwater 🌊

Trapping Rainwater 🌊

Comments
3 min read
Subset vs Substring

Subset vs Substring

6
Comments 1
1 min read
Count Good Nodes in Binary Tree

Count Good Nodes in Binary Tree

3
Comments
1 min read
Слияние отсортированных массивов

Слияние отсортированных массивов

42
Comments 2
1 min read
Third Maximum Number

Third Maximum Number

5
Comments
1 min read
Restore IP Addresses

Restore IP Addresses

5
Comments
1 min read
Duplicate Zeros - I

Duplicate Zeros - I

Comments
1 min read
Reverse Words in a String III

Reverse Words in a String III

1
Comments 3
1 min read
loading...