DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Remove One Element to Make the Array Strictly Increasing

Remove One Element to Make the Array Strictly Increasing

1
Comments
1 min read
Nth Digit

Nth Digit

2
Comments
1 min read
Number of Ways to Divide a Long Corridor

Number of Ways to Divide a Long Corridor

1
Comments
2 min read
Smallest Good Base

Smallest Good Base

1
Comments
1 min read
208. Implement Trie (Prefix Tree) 🚀

208. Implement Trie (Prefix Tree) 🚀

8
Comments 2
5 min read
Python - Leetcode : Day 1

Python - Leetcode : Day 1

6
Comments
1 min read
Logger Rate Limiter

Logger Rate Limiter

9
Comments
1 min read
JavaScript LeetCode Valid Anagram

JavaScript LeetCode Valid Anagram

6
Comments 2
2 min read
Water Bottles

Water Bottles

3
Comments 1
1 min read
199. Binary Tree Right Side View 🚀

199. Binary Tree Right Side View 🚀

8
Comments
4 min read
JavaScript LeetCode Contains Duplicate

JavaScript LeetCode Contains Duplicate

6
Comments
2 min read
Encode and Decode Strings

Encode and Decode Strings

5
Comments
1 min read
Longest Consecutive Sequence

Longest Consecutive Sequence

4
Comments
1 min read
700. Search in a Binary Search Tree 🚀

700. Search in a Binary Search Tree 🚀

7
Comments
3 min read
110. Balanced Binary Tree 🚀

110. Balanced Binary Tree 🚀

9
Comments
4 min read
How to ace the coding interview in 2022

How to ace the coding interview in 2022

8
Comments 3
3 min read
98. Validate Binary Search Tree 🚀

98. Validate Binary Search Tree 🚀

7
Comments
4 min read
101. Symmetric Tree 🚀

101. Symmetric Tree 🚀

6
Comments
4 min read
226. Invert Binary Tree 🚀

226. Invert Binary Tree 🚀

6
Comments
4 min read
JavaScript LeetCode Best Time to Buy and Sell Stock

JavaScript LeetCode Best Time to Buy and Sell Stock

7
Comments
3 min read
Container With Most Water

Container With Most Water

10
Comments
1 min read
I was leetcoding the wrong way

I was leetcoding the wrong way

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

114. Flatten Binary Tree to Linked List 🚀

8
Comments
5 min read
563. Binary Tree Tilt 🚀

563. Binary Tree Tilt 🚀

10
Comments 1
4 min read
103. Binary Tree Zigzag Level Order Traversal 🚀

103. Binary Tree Zigzag Level Order Traversal 🚀

10
Comments
5 min read
814. Binary Tree Pruning 🚀

814. Binary Tree Pruning 🚀

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

230. Kth Smallest Element in a BST 🚀

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

102. Binary Tree Level Order Traversal 🚀

8
Comments 1
4 min read
Move zeroes

Move zeroes

3
Comments
1 min read
Search in Rotated Sorted Array - Python

Search in Rotated Sorted Array - Python

6
Comments
1 min read
99. Recover Binary Search Tree 🚀

99. Recover Binary Search Tree 🚀

7
Comments 1
4 min read
Remove Duplicates from Sorted Linked List

Remove Duplicates from Sorted Linked List

5
Comments
2 min read
144. Binary Tree Preorder Traversal

144. Binary Tree Preorder Traversal

7
Comments 1
3 min read
Graph Algorithm - Topological Sorting

Graph Algorithm - Topological Sorting

11
Comments
2 min read
Group Anagrams

Group Anagrams

7
Comments 2
1 min read
Add Two Numbers

Add Two Numbers

7
Comments
2 min read
Leetcode Buddy / Buddies Community

Leetcode Buddy / Buddies Community

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

The Linked List: ADD TWO NUMBERS

5
Comments
4 min read
Download all your leetcode solutions

Download all your leetcode solutions

3
Comments
1 min read
Longest Palindromic Substring: JavaScript

Longest Palindromic Substring: JavaScript

6
Comments
3 min read
Implement StrStr

Implement StrStr

6
Comments
2 min read
Valid Anagram

Valid Anagram

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

Kth Largest Element in an Array

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

3
Comments
5 min read
Minimum Swaps TO make binary String Alternating

Minimum Swaps TO make binary String Alternating

6
Comments
1 min read
Buy and Sell Stocks-I and II

Buy and Sell Stocks-I and II

7
Comments 1
1 min read
Intersection of Two Arrays - II

Intersection of Two Arrays - II

7
Comments
2 min read
Find First and Last Position of Element in Sorted Array - Python

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

5
Comments
1 min read
LeetCode vs. Educative: Engaging your long-term memory

LeetCode vs. Educative: Engaging your long-term memory

5
Comments
5 min read
Merge Sorted Array

Merge Sorted Array

10
Comments 1
2 min read
A Guide to grinding Leetcode

A Guide to grinding Leetcode

3
Comments
4 min read
一个字符串匹配多个字符串

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

6
Comments
1 min read
Solving Find Pivot Index from LeetCode + Explanation

Solving Find Pivot Index from LeetCode + Explanation

21
Comments
3 min read
Leetcode Daily Challenge - Find the Duplicate Number

Leetcode Daily Challenge - Find the Duplicate Number

8
Comments
2 min read
Two Sum

Two Sum

6
Comments
2 min read
Leetcode: Symmetric Tree (Kotlin)

Leetcode: Symmetric Tree (Kotlin)

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

Leetcode — Kth Smallest Element in a BST (Kotlin)

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

Leetcode — Valid Parentheses (Kotlin)

4
Comments
2 min read
Leetcode Daily Challenge - Broken Calculator

Leetcode Daily Challenge - Broken Calculator

4
Comments
2 min read
[Leetcode]1552. Magnetic Force Between Two Balls - Python Solution

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

5
Comments
1 min read
loading...