DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
15. 3Sum [Leetcode][C++]

15. 3Sum [Leetcode][C++]

8
Comments
2 min read
50. Pow(x, n) [Leetcode][C++]

50. Pow(x, n) [Leetcode][C++]

2
Comments
1 min read
Binary Tree: Max Path Sum (approach and explanation)

Binary Tree: Max Path Sum (approach and explanation)

5
Comments 1
7 min read
LeetCode - Trapping rain water

LeetCode - Trapping rain water

8
Comments
4 min read
Linked List Popular problems

Linked List Popular problems

4
Comments
4 min read
LeetCode - Count Primes

LeetCode - Count Primes

2
Comments
4 min read
LeetCode - Gas Station

LeetCode - Gas Station

6
Comments
4 min read
LeetCode - Height Checker Solution

LeetCode - Height Checker Solution

5
Comments
1 min read
LeetCode - Best Time to Buy and Sell Stock

LeetCode - Best Time to Buy and Sell Stock

6
Comments
3 min read
LeetCode - Populating Next Right Pointers in Each Node

LeetCode - Populating Next Right Pointers in Each Node

6
Comments
5 min read
Leetcode - Same Tree (Kotlin)

Leetcode - Same Tree (Kotlin)

4
Comments
2 min read
Linked List Tips

Linked List Tips

2
Comments
4 min read
Peak Index in a Mountain Array

Peak Index in a Mountain Array

2
Comments
1 min read
Intersection of Three Sorted Arrays

Intersection of Three Sorted Arrays

2
Comments
1 min read
LeetCode - Maximum Product of Three Numbers

LeetCode - Maximum Product of Three Numbers

3
Comments
6 min read
LeetCode - Validate Binary Search Tree

LeetCode - Validate Binary Search Tree

3
Comments 2
3 min read
LeetCode - Binary Tree Level Order Traversal

LeetCode - Binary Tree Level Order Traversal

6
Comments
4 min read
LeetCode - Symmetric tree

LeetCode - Symmetric tree

6
Comments
3 min read
LeetCode - Word Search

LeetCode - Word Search

5
Comments 1
10 min read
LeetCode - Decode Ways

LeetCode - Decode Ways

6
Comments
4 min read
Leetcode 451. Sort Characters By Frequency

Leetcode 451. Sort Characters By Frequency

4
Comments
1 min read
LeetCode - Subsets

LeetCode - Subsets

5
Comments
5 min read
LeetCode - Remove Element

LeetCode - Remove Element

4
Comments
4 min read
LeetCode - Jump Game

LeetCode - Jump Game

6
Comments
4 min read
LeetCode - ZigZag Conversion

LeetCode - ZigZag Conversion

3
Comments
4 min read
LeetCode - Product of Array Except Self

LeetCode - Product of Array Except Self

6
Comments
3 min read
LeetCode - Unique Paths

LeetCode - Unique Paths

5
Comments
3 min read
Challenge #15 - Count Number of Pairs With Absolute Difference K

Challenge #15 - Count Number of Pairs With Absolute Difference K

6
Comments
3 min read
LeetCode - Pascal's Triangle

LeetCode - Pascal's Triangle

5
Comments
4 min read
Challenge #18 - Count Negative Numbers in a Sorted Matrix

Challenge #18 - Count Negative Numbers in a Sorted Matrix

5
Comments 1
4 min read
LeetCode - Paint House

LeetCode - Paint House

5
Comments
3 min read
LeetCode - 3Sum closest

LeetCode - 3Sum closest

6
Comments 1
4 min read
LeetCode - Swap Nodes in Pairs

LeetCode - Swap Nodes in Pairs

5
Comments
2 min read
LeetCode - Next Permutation

LeetCode - Next Permutation

4
Comments
4 min read
Merge Two Sorted Arrays

Merge Two Sorted Arrays

9
Comments
3 min read
LeetCode - Search Insert Position

LeetCode - Search Insert Position

5
Comments
2 min read
Two Sum

Two Sum

2
Comments
2 min read
LeetCode - Merge Two Sorted Lists

LeetCode - Merge Two Sorted Lists

3
Comments
3 min read
Find All Numbers Disappeared in an Array - Go solutions

Find All Numbers Disappeared in an Array - Go solutions

2
Comments
2 min read
LeetCode - Generate Parentheses

LeetCode - Generate Parentheses

3
Comments
3 min read
Leetcode 282: Expression Add Operators

Leetcode 282: Expression Add Operators

2
Comments
2 min read
LeetCode - Letter Combinations of a Phone Number

LeetCode - Letter Combinations of a Phone Number

2
Comments
5 min read
How to shortcut the Leetcode grind

How to shortcut the Leetcode grind

12
Comments
5 min read
LeetCode - Plus One

LeetCode - Plus One

2
Comments
3 min read
LeetCode - Implement strStr()

LeetCode - Implement strStr()

3
Comments
3 min read
Day 1: My Leetcode Adventure[2]

Day 1: My Leetcode Adventure[2]

4
Comments
4 min read
Solving Leetcode's "Move Zeroes" with JavaScript

Solving Leetcode's "Move Zeroes" with JavaScript

6
Comments
3 min read
LeetCode - Merge Two Sorted Array

LeetCode - Merge Two Sorted Array

5
Comments
4 min read
Leetcode Array Problem Solutions - Part 7 (Third Maximum Number)

Leetcode Array Problem Solutions - Part 7 (Third Maximum Number)

2
Comments
3 min read
Build Array from Permutation – Solution to LeetCode Problem

Build Array from Permutation – Solution to LeetCode Problem

23
Comments 4
3 min read
LeetCode 124. Binary Tree Maximum Path Sum

LeetCode 124. Binary Tree Maximum Path Sum

4
Comments
3 min read
LeetCode - Sort Colors

LeetCode - Sort Colors

6
Comments 1
4 min read
LeetCode - Valid Parentheses

LeetCode - Valid Parentheses

6
Comments
3 min read
Leetcode Array Problem Solutions (Remove Duplicates From Sorted Array)

Leetcode Array Problem Solutions (Remove Duplicates From Sorted Array)

5
Comments
3 min read
LeetCode - Rotate Image

LeetCode - Rotate Image

6
Comments
4 min read
What I Learned Solving A Leetcode Problem A Day For 45 Straight Days

What I Learned Solving A Leetcode Problem A Day For 45 Straight Days

3
Comments
3 min read
Two Sum

Two Sum

2
Comments
4 min read
Algorithm Tutorial: Max Area of an Island (DFS)

Algorithm Tutorial: Max Area of an Island (DFS)

18
Comments
6 min read
LeetCode - Find First and Last Position of Element in Sorted Array

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

4
Comments 2
4 min read
Leetcode 11: Container With Most Water

Leetcode 11: Container With Most Water

5
Comments 1
3 min read
loading...