DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode 124: Binary Tree Maximum Path Sum – Full Explanation & Java Solution

LeetCode 124: Binary Tree Maximum Path Sum – Full Explanation & Java Solution

Comments
3 min read
Swift program to convert an integer to a Roman numeral — a classic LeetCode problem: "Integer to Roman" (Problem #12).

Swift program to convert an integer to a Roman numeral — a classic LeetCode problem: "Integer to Roman" (Problem #12).

Comments
1 min read
LeetCode 30 Days of JavaScript — Day 1: Closures & Counter Function

LeetCode 30 Days of JavaScript — Day 1: Closures & Counter Function

Comments 1
2 min read
1298. Maximum Candies You Can Get from Boxes

1298. Maximum Candies You Can Get from Boxes

Comments
4 min read
1353. Maximum Number of Events That Can Be Attended

1353. Maximum Number of Events That Can Be Attended

1
Comments
4 min read
135. Candy

135. Candy

Comments
3 min read
2929. Distribute Candies Among Children II

2929. Distribute Candies Among Children II

1
Comments
4 min read
909. Snakes and Ladders

909. Snakes and Ladders

Comments
5 min read
[📝LeetCode #88] Merge Sorted Array

[📝LeetCode #88] Merge Sorted Array

Comments
2 min read
LeetCode — 2824. Count Pairs Whose Sum is Less than Target

LeetCode — 2824. Count Pairs Whose Sum is Less than Target

Comments
1 min read
2359. Find Closest Node to Given Two Nodes

2359. Find Closest Node to Given Two Nodes

Comments
4 min read
LeetCode — 2798. Number of Employees Who Met the Target

LeetCode — 2798. Number of Employees Who Met the Target

Comments
1 min read
3373. Maximize the Number of Target Nodes After Connecting Trees II

3373. Maximize the Number of Target Nodes After Connecting Trees II

Comments
5 min read
[📝LeetCode #27] Remove Element

[📝LeetCode #27] Remove Element

Comments
2 min read
LeetCode 705: Design HashSet

LeetCode 705: Design HashSet

2
Comments
10 min read
LeetCode — 3467. Transform Array by Parity

LeetCode — 3467. Transform Array by Parity

1
Comments
2 min read
3372. Maximize the Number of Target Nodes After Connecting Trees I

3372. Maximize the Number of Target Nodes After Connecting Trees I

Comments
5 min read
The most useful data structure for leetcode

The most useful data structure for leetcode

Comments
1 min read
2894. Divisible and Non-divisible Sums Difference

2894. Divisible and Non-divisible Sums Difference

Comments
3 min read
LeetCode — 2161. Partition Array According to Given Pivot

LeetCode — 2161. Partition Array According to Given Pivot

Comments
3 min read
Backtracking

Backtracking

Comments
4 min read
1857. Largest Color Value in a Directed Graph

1857. Largest Color Value in a Directed Graph

1
Comments
4 min read
2131. Longest Palindrome by Concatenating Two Letter Words

2131. Longest Palindrome by Concatenating Two Letter Words

Comments
3 min read
2942. Find Words Containing Character

2942. Find Words Containing Character

Comments
3 min read
👹 Longest Binary Subsequence K – LeetCode 2311 (C++ | JavaScript | Python )

👹 Longest Binary Subsequence K – LeetCode 2311 (C++ | JavaScript | Python )

11
Comments 4
2 min read
loading...