DEV Community 👩‍💻👨‍💻

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
The Most Important Leetcode Patterns

The Most Important Leetcode Patterns

Reactions 7 Comments
1 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

Comments
4 min read
Smallest Even Multiple

Smallest Even Multiple

Reactions 3 Comments
1 min read
Decode Ways

Decode Ways

Reactions 4 Comments
1 min read
Longest Substring With K Distinct Characters

Longest Substring With K Distinct Characters

Comments
1 min read
Construct String from Binary Tree

Construct String from Binary Tree

Reactions 3 Comments
1 min read
Verifying Valid Anagram

Verifying Valid Anagram

Comments
7 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
An Iterative solution to Binary Tree Pre-Order Traversal in Python3

An Iterative solution to Binary Tree Pre-Order Traversal in Python3

Reactions 1 Comments
2 min read
LeetCode -[Roman to Integer] JS variations

LeetCode -[Roman to Integer] JS variations

Comments
2 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

Reactions 1 Comments
4 min read
Count Good Nodes in Binary Tree

Count Good Nodes in Binary Tree

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

Using Ruby to Translate Roman Numerals to Integers

Reactions 5 Comments
4 min read
LeetCode #206 Reverse Linked List

LeetCode #206 Reverse Linked List

Reactions 1 Comments
2 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

Reactions 3 Comments
2 min read
Majority Element -I

Majority Element -I

Comments
1 min read
Number of Island - I

Number of Island - I

Reactions 3 Comments
1 min read
76. Minimum Window Substring 🚀

76. Minimum Window Substring 🚀

Reactions 1 Comments
3 min read
Cheapest Flights Within K Stops

Cheapest Flights Within K Stops

Reactions 4 Comments
1 min read
Maximum Number of Words Found in Sentences

Maximum Number of Words Found in Sentences

Reactions 1 Comments
2 min read
Smallest Number in Infinite Set

Smallest Number in Infinite Set

Reactions 4 Comments
1 min read
Letter Combinations of a Phone Number

Letter Combinations of a Phone Number

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

Length of the Longest Alphabetical Continuous Substring

Reactions 4 Comments
1 min read
Number of Lines To Write String

Number of Lines To Write String

Reactions 1 Comments
1 min read
ELI5ing LeetCode : Minimum Size Subarray Sum

ELI5ing LeetCode : Minimum Size Subarray Sum

Comments
15 min read
Majority Element

Majority Element

Reactions 1 Comments
1 min read
Merge Two Sorted Lists Solution in Dart

Merge Two Sorted Lists Solution in Dart

Reactions 6 Comments
4 min read
Find Original Array From Doubled Array

Find Original Array From Doubled Array

Reactions 3 Comments
1 min read
Relative Ranks - I

Relative Ranks - I

Reactions 3 Comments
1 min read
Word Break

Word Break

Reactions 1 Comments
3 min read
Missing Number - I

Missing Number - I

Reactions 1 Comments
1 min read
Single Number Check

Single Number Check

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

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

Reactions 21 Comments 3
1 min read
Rotate Right - LinkedList

Rotate Right - LinkedList

Comments
1 min read
Add Two Numbers - LinkedList

Add Two Numbers - LinkedList

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

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

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

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

Reactions 26 Comments 1
1 min read
#LeetCode 717. 1-bit and 2-bit Characters

#LeetCode 717. 1-bit and 2-bit Characters

Reactions 3 Comments
3 min read
Third Maximum Number

Third Maximum Number

Reactions 3 Comments
1 min read
Restore IP Addresses

Restore IP Addresses

Reactions 3 Comments
1 min read
Delete Nth Node From Last LinkedList

Delete Nth Node From Last LinkedList

Reactions 1 Comments
1 min read
Intersection of Two Linked Lists

Intersection of Two Linked Lists

Reactions 6 Comments
1 min read
Implement Trie

Implement Trie

Reactions 3 Comments
1 min read
Detect Cycle LinkedList - II

Detect Cycle LinkedList - II

Reactions 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
Set Mismatch

Set Mismatch

Reactions 3 Comments
1 min read
Detect Cycle LinkedList - I

Detect Cycle LinkedList - I

Reactions 5 Comments 1
1 min read
Merge Triplets to Form Target Triplet

Merge Triplets to Form Target Triplet

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

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

Reactions 28 Comments
1 min read
Merge Two Sorted Linked List - I

Merge Two Sorted Linked List - I

Reactions 3 Comments
1 min read
Battleships in a Board Count

Battleships in a Board Count

Reactions 3 Comments
1 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
loading...