DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Minimum Time to Complete Trips

Minimum Time to Complete Trips

Comments
2 min read
Flower Planting With No Adjacent

Flower Planting With No Adjacent

Comments
2 min read
Koko Eating Bananas

Koko Eating Bananas

Comments
1 min read
Number of 1 Bits

Number of 1 Bits

Comments
1 min read
Pascal's Triangle

Pascal's Triangle

Comments
1 min read
Minimum Cost of Buying Candies With Discount

Minimum Cost of Buying Candies With Discount

4
Comments
2 min read
Minimum Cost to Move Chips to The Same Position

Minimum Cost to Move Chips to The Same Position

Comments
1 min read
Largest Rectangle in Histogram

Largest Rectangle in Histogram

Comments
2 min read
Number of Pairs of Strings With Concatenation Equal to Target

Number of Pairs of Strings With Concatenation Equal to Target

Comments
1 min read
Single Number II

Single Number II

Comments
1 min read
Group the People Given the Group Size They Belong To

Group the People Given the Group Size They Belong To

Comments
2 min read
Swap Nodes in Pairs

Swap Nodes in Pairs

1
Comments
1 min read
Remove One Element to Make the Array Strictly Increasing

Remove One Element to Make the Array Strictly Increasing

1
Comments
1 min read
Smallest Good Base

Smallest Good Base

1
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
Nth Digit

Nth Digit

2
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
226. Invert Binary Tree 🚀

226. Invert Binary Tree 🚀

6
Comments
4 min read
101. Symmetric Tree 🚀

101. Symmetric 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

7
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
loading...