DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Square Root of A Non-Negative Integer (Leetcode)

Square Root of A Non-Negative Integer (Leetcode)

2
Comments
2 min read
Find the Duplicate Number

Find the Duplicate Number

2
Comments
2 min read
Non-overlapping Intervals

Non-overlapping Intervals

2
Comments
1 min read
Partition Labels

Partition Labels

2
Comments
1 min read
Find Intersection of Two Arrays

Find Intersection of Two Arrays

8
Comments 3
2 min read
Binary Search: Recursive and Iterative method

Binary Search: Recursive and Iterative method

Comments
1 min read
Awesome about Golang Learning

Awesome about Golang Learning

4
Comments
1 min read
Segment Trees (for Concert Tickets)

Segment Trees (for Concert Tickets)

7
Comments
15 min read
Subtree of Another Tree

Subtree of Another Tree

2
Comments
1 min read
Maximum Units on a Truck

Maximum Units on a Truck

3
Comments
2 min read
C# Program to convert Roman numerals to decimal integers.

C# Program to convert Roman numerals to decimal integers.

4
Comments
2 min read
Plus One

Plus One

Comments 1
2 min read
Length of Last Word

Length of Last Word

1
Comments
1 min read
Transpose of a matrix

Transpose of a matrix

3
Comments
2 min read
Notion Template to Track Your Leetcode Progress & Improve Productivity 🚀

Notion Template to Track Your Leetcode Progress & Improve Productivity 🚀

5
Comments 2
1 min read
The Next Greater Element - I

The Next Greater Element - I

1
Comments
1 min read
String Compression

String Compression

Comments
1 min read
Check for Valid BST

Check for Valid BST

4
Comments
1 min read
Minimum Cost of ropes

Minimum Cost of ropes

3
Comments
2 min read
Understanding LeetCode Problem #1672: Richest Customer Wealth (JavaScript)

Understanding LeetCode Problem #1672: Richest Customer Wealth (JavaScript)

5
Comments
6 min read
1. Two Sum

1. Two Sum

4
Comments
2 min read
Count Common Words With One Occurrence

Count Common Words With One Occurrence

4
Comments 1
1 min read
Balanced Binary Tree

Balanced Binary Tree

Comments
1 min read
Minimum Window Substring

Minimum Window Substring

Comments
1 min read
Remove Element

Remove Element

Comments
2 min read
Pre Order Traversal

Pre Order Traversal

Comments
1 min read
Inorder Traversal

Inorder Traversal

Comments
1 min read
Post Order Traversal

Post Order Traversal

Comments
1 min read
Converting Roman numerals to integers and vice versa

Converting Roman numerals to integers and vice versa

7
Comments
3 min read
Two Sum IV - Input is a BST

Two Sum IV - Input is a BST

3
Comments 2
2 min read
Sort Colors - Sort 0,1,2

Sort Colors - Sort 0,1,2

Comments
1 min read
Reverse Only Letters

Reverse Only Letters

Comments
1 min read
is Long Pressed Name

is Long Pressed Name

Comments
1 min read
Valid Palindrome II

Valid Palindrome II

Comments 1
1 min read
Path Sum- Binary Tree

Path Sum- Binary Tree

Comments
1 min read
Triplet Sum Close to Target

Triplet Sum Close to Target

Comments
1 min read
Delete the Middle Node of a Linked List

Delete the Middle Node of a Linked List

1
Comments
2 min read
Average of Levels in Binary Tree

Average of Levels in Binary Tree

Comments
1 min read
Second Minimum Node In a Binary Tree

Second Minimum Node In a Binary Tree

Comments
1 min read
Permutation of a string

Permutation of a string

Comments
1 min read
Serialize and Deserialize Binary Tree

Serialize and Deserialize Binary Tree

Comments
1 min read
Is Symmetric Tree

Is Symmetric Tree

Comments
1 min read
Search Insert Position

Search Insert Position

Comments
1 min read
Merge Nodes in Between Zeros

Merge Nodes in Between Zeros

2
Comments
1 min read
Num Subarray Product Less Than K

Num Subarray Product Less Than K

2
Comments
1 min read
The Most Important Leetcode Patterns

The Most Important Leetcode Patterns

7
Comments
1 min read
287. Find the Duplicate Number 🚀

287. Find the Duplicate Number 🚀

1
Comments
3 min read
Increasing Order Search Tree

Increasing Order Search Tree

1
Comments
1 min read
Intersection of Array

Intersection of Array

Comments
1 min read
Univalued Binary Tree

Univalued Binary Tree

1
Comments
1 min read
Binary Tree Zigzag Level Order Traversal

Binary Tree Zigzag Level Order Traversal

1
Comments
1 min read
Binary Tree Level Order Traversal

Binary Tree Level Order Traversal

2
Comments
2 min read
This SQL solution is GENIUS!!đŸ€©

This SQL solution is GENIUS!!đŸ€©

1
Comments
2 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
Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array

Comments
2 min read
Maximum Average Subarray I

Maximum Average Subarray I

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

LeetCode -[Roman to Integer] JS variations

Comments
2 min read
Invert Binary Tree

Invert Binary Tree

1
Comments
1 min read
loading...