DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
JavaScript LeetCode Best Time to Buy and Sell Stock

JavaScript LeetCode Best Time to Buy and Sell Stock

Reactions 2 Comments
3 min read
226. Invert Binary Tree 🚀

226. Invert Binary Tree 🚀

Reactions 4 Comments
4 min read
101. Symmetric Tree 🚀

101. Symmetric Tree 🚀

Reactions 4 Comments
4 min read
98. Validate Binary Search Tree 🚀

98. Validate Binary Search Tree 🚀

Reactions 4 Comments
4 min read
Logger Rate Limiter

Logger Rate Limiter

Reactions 9 Comments
1 min read
Remove Duplicates from Sorted Linked List

Remove Duplicates from Sorted Linked List

Reactions 5 Comments
2 min read
JavaScript LeetCode Contains Duplicate

JavaScript LeetCode Contains Duplicate

Reactions 6 Comments
2 min read
Encode and Decode Strings

Encode and Decode Strings

Reactions 5 Comments
1 min read
Longest Consecutive Sequence

Longest Consecutive Sequence

Reactions 4 Comments
1 min read
Container With Most Water

Container With Most Water

Reactions 10 Comments
1 min read
Longest Palindromic Substring: JavaScript

Longest Palindromic Substring: JavaScript

Reactions 6 Comments
3 min read
Implement StrStr

Implement StrStr

Reactions 6 Comments
2 min read
I was leetcoding the wrong way

I was leetcoding the wrong way

Reactions 7 Comments
3 min read
114. Flatten Binary Tree to Linked List 🚀

114. Flatten Binary Tree to Linked List 🚀

Reactions 10 Comments
5 min read
Intersection of Two Arrays - II

Intersection of Two Arrays - II

Reactions 7 Comments
2 min read
563. Binary Tree Tilt 🚀

563. Binary Tree Tilt 🚀

Reactions 10 Comments 1
4 min read
LeetCode vs. Educative: Engaging your long-term memory

LeetCode vs. Educative: Engaging your long-term memory

Reactions 4 Comments
5 min read
103. Binary Tree Zigzag Level Order Traversal 🚀

103. Binary Tree Zigzag Level Order Traversal 🚀

Reactions 9 Comments
5 min read
814. Binary Tree Pruning 🚀

814. Binary Tree Pruning 🚀

Reactions 9 Comments
4 min read
230. Kth Smallest Element in a BST 🚀

230. Kth Smallest Element in a BST 🚀

Reactions 9 Comments
5 min read
102. Binary Tree Level Order Traversal 🚀

102. Binary Tree Level Order Traversal 🚀

Reactions 9 Comments 1
4 min read
Solving Find Pivot Index from LeetCode + Explanation

Solving Find Pivot Index from LeetCode + Explanation

Reactions 5 Comments
3 min read
Move zeroes

Move zeroes

Reactions 3 Comments
1 min read
Graph Algorithm - Topological Sorting

Graph Algorithm - Topological Sorting

Reactions 7 Comments
2 min read
Search in Rotated Sorted Array - Python

Search in Rotated Sorted Array - Python

Reactions 6 Comments
1 min read
Group Anagrams

Group Anagrams

Reactions 6 Comments 2
1 min read
Add Two Numbers

Add Two Numbers

Reactions 7 Comments
2 min read
99. Recover Binary Search Tree 🚀

99. Recover Binary Search Tree 🚀

Reactions 7 Comments 1
4 min read
144. Binary Tree Preorder Traversal

144. Binary Tree Preorder Traversal

Reactions 6 Comments 1
3 min read
Leetcode Buddy / Buddies Community

Leetcode Buddy / Buddies Community

Reactions 5 Comments
1 min read
The Linked List: ADD TWO NUMBERS

The Linked List: ADD TWO NUMBERS

Reactions 5 Comments
4 min read
Leetcode: Symmetric Tree (Kotlin)

Leetcode: Symmetric Tree (Kotlin)

Reactions 4 Comments
1 min read
Leetcode — Kth Smallest Element in a BST (Kotlin)

Leetcode — Kth Smallest Element in a BST (Kotlin)

Reactions 4 Comments
2 min read
Leetcode — Valid Parentheses (Kotlin)

Leetcode — Valid Parentheses (Kotlin)

Reactions 4 Comments
2 min read
Leetcode Daily Challenge - Broken Calculator

Leetcode Daily Challenge - Broken Calculator

Reactions 6 Comments
2 min read
Valid Anagram

Valid Anagram

Reactions 5 Comments 1
1 min read
Kth Largest Element in an Array

Kth Largest Element in an Array

Reactions 5 Comments
2 min read
Never forget your Leetcode solutions using Anki cards 🌟

Never forget your Leetcode solutions using Anki cards 🌟

Reactions 9 Comments
3 min read
Move Zeroes - Daily JS (Day 13)

Move Zeroes - Daily JS (Day 13)

Reactions 6 Comments
1 min read
LeetCode problem #1 — Two-sum (JavaScript)

LeetCode problem #1 — Two-sum (JavaScript)

Reactions 4 Comments
3 min read
What is LeetCode, and why do I post solutions to it on online?

What is LeetCode, and why do I post solutions to it on online?

Reactions 3 Comments
5 min read
Buy and Sell Stocks-I and II

Buy and Sell Stocks-I and II

Reactions 7 Comments 1
1 min read
Minimum Swaps TO make binary String Alternating

Minimum Swaps TO make binary String Alternating

Reactions 6 Comments
1 min read
Find First and Last Position of Element in Sorted Array - Python

Find First and Last Position of Element in Sorted Array - Python

Reactions 5 Comments
1 min read
Merge Sorted Array

Merge Sorted Array

Reactions 10 Comments 1
2 min read
一个字符串匹配多个字符串

一个字符串匹配多个字符串

Reactions 6 Comments
1 min read
Rotate Array - Daily JS (Day 12)

Rotate Array - Daily JS (Day 12)

Reactions 5 Comments
1 min read
Leetcode Daily Challenge - Find the Duplicate Number

Leetcode Daily Challenge - Find the Duplicate Number

Reactions 8 Comments
2 min read
Two Sum

Two Sum

Reactions 6 Comments
2 min read
Maximum Subarray - Leetcode Solution

Maximum Subarray - Leetcode Solution

Reactions 6 Comments
1 min read
[Leetcode]1552. Magnetic Force Between Two Balls - Python Solution

[Leetcode]1552. Magnetic Force Between Two Balls - Python Solution

Reactions 5 Comments
1 min read
LeetCode problem #2 — Add two numbers (JavaScript)

LeetCode problem #2 — Add two numbers (JavaScript)

Reactions 2 Comments
3 min read
LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

Reactions 2 Comments
2 min read
Path Sum(code and Explanation)

Path Sum(code and Explanation)

Reactions 7 Comments
2 min read
Next Permutation Leetcode – Python Solution

Next Permutation Leetcode – Python Solution

Reactions 5 Comments
2 min read
First Missing Positive – Leetcode Python

First Missing Positive – Leetcode Python

Reactions 2 Comments
1 min read
Longest Valid Parentheses – Leetcode Python

Longest Valid Parentheses – Leetcode Python

Reactions 2 Comments
1 min read
LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

Reactions 5 Comments
2 min read
LeetCode problem #4 — Median of two sorted arrays (JavaScript)

LeetCode problem #4 — Median of two sorted arrays (JavaScript)

Reactions 2 Comments
2 min read
Reverse Integer — JS (Day 8)

Reverse Integer — JS (Day 8)

Reactions 7 Comments
1 min read
loading...