DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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

7
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
LeetCode problem #2 — Add two numbers (JavaScript)

LeetCode problem #2 — Add two numbers (JavaScript)

2
Comments
3 min read
LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

2
Comments
2 min read
Path Sum(code and Explanation)

Path Sum(code and Explanation)

7
Comments
2 min read
LeetCode problem #1 — Two-sum (JavaScript)

LeetCode problem #1 — Two-sum (JavaScript)

6
Comments
3 min read
LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

6
Comments 1
2 min read
LeetCode problem #4 — Median of two sorted arrays (JavaScript)

LeetCode problem #4 — Median of two sorted arrays (JavaScript)

2
Comments
2 min read
Hamming Distance - C++ Solution

Hamming Distance - C++ Solution

48
Comments 18
3 min read
BFS/DFS/DP LeetCode Notes: Send message

BFS/DFS/DP LeetCode Notes: Send message

4
Comments
4 min read
Day 14 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#209. Minimum Size Subarray Sum(Medium/JavaScript)

Day 14 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#209. Minimum Size Subarray Sum(Medium/JavaScript)

6
Comments
4 min read
Remove Stones to minimize the Total(code and Explanation)

Remove Stones to minimize the Total(code and Explanation)

7
Comments
2 min read
Connect Ropes(code and explanation)

Connect Ropes(code and explanation)

7
Comments 2
2 min read
'K' Closest Numbers(code and explanation)

'K' Closest Numbers(code and explanation)

4
Comments
2 min read
Two Sum Problems - 4+ ways to solve.

Two Sum Problems - 4+ ways to solve.

48
Comments 3
7 min read
Maximum Subarray - Leetcode Solution

Maximum Subarray - Leetcode Solution

6
Comments
1 min read
Find minimum in rotated sorted array in Python(code and explanation)

Find minimum in rotated sorted array in Python(code and explanation)

7
Comments
2 min read
Subsets/Power-set, A FAANG Interview Question - TS Solution

Subsets/Power-set, A FAANG Interview Question - TS Solution

42
Comments 1
3 min read
Subsets/Power-set, A FAANG Interview Question - JS Solution

Subsets/Power-set, A FAANG Interview Question - JS Solution

43
Comments
3 min read
Subsets/Power-set, A FAANG Interview Question - C++ Solution

Subsets/Power-set, A FAANG Interview Question - C++ Solution

45
Comments 2
3 min read
Monotonic Array - Java Solution

Monotonic Array - Java Solution

44
Comments
3 min read
Subsets/Power-set, A FAANG Interview Question - Java Solution

Subsets/Power-set, A FAANG Interview Question - Java Solution

46
Comments
3 min read
Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

6
Comments
4 min read
LeetCode: Plus One Solution

LeetCode: Plus One Solution

2
Comments
3 min read
Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

8
Comments
3 min read
Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

8
Comments
4 min read
Nearest Smaller Element on Left of an Array 

Nearest Smaller Element on Left of an Array 

7
Comments
2 min read
Leetcode 909 Snakes and Ladders

Leetcode 909 Snakes and Ladders

6
Comments
2 min read
Day 3 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1.Two-Sum(Easy/JavaScript)

Day 3 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1.Two-Sum(Easy/JavaScript)

8
Comments
4 min read
Judging Valid Parentheses

Judging Valid Parentheses

6
Comments
1 min read
Day 1 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#728.Self-Dividing Numbers(Easy/JavaScript)

Day 1 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#728.Self-Dividing Numbers(Easy/JavaScript)

11
Comments
4 min read
Finding the longest common prefix string amongst an array of strings

Finding the longest common prefix string amongst an array of strings

7
Comments
1 min read
Next Permutation Leetcode – Python Solution

Next Permutation Leetcode – Python Solution

9
Comments 1
2 min read
First Missing Positive – Leetcode Python

First Missing Positive – Leetcode Python

2
Comments
1 min read
Longest Valid Parentheses – Leetcode Python

Longest Valid Parentheses – Leetcode Python

2
Comments
1 min read
Substring with Concatenation of All Words - LeetCode

Substring with Concatenation of All Words - LeetCode

3
Comments
2 min read
Leetcode Merge Intervals - Solution & Video Explaination

Leetcode Merge Intervals - Solution & Video Explaination

6
Comments
1 min read
Remove nth node from end of list Leetcode Python

Remove nth node from end of list Leetcode Python

2
Comments
1 min read
Reverse Linked List | Leetcode Problem

Reverse Linked List | Leetcode Problem

6
Comments
1 min read
LeetCode - Valid Sudoku

LeetCode - Valid Sudoku

4
Comments
6 min read
LeetCode - Search in Rotated Sorted Array

LeetCode - Search in Rotated Sorted Array

6
Comments
5 min read
Longest Substring Without Repeating Characters – LeetCode Solutions

Longest Substring Without Repeating Characters – LeetCode Solutions

3
Comments
1 min read
LeetCode - House Robber

LeetCode - House Robber

4
Comments
3 min read
LeetCode - Factorial Trailing Zeroes

LeetCode - Factorial Trailing Zeroes

5
Comments
2 min read
LeetCode - Largest Number

LeetCode - Largest Number

7
Comments
3 min read
Binary Tree: Lowest Common Ancestor (LCA)

Binary Tree: Lowest Common Ancestor (LCA)

6
Comments
3 min read
724. Find Pivot Index [Leetcode][C++]

724. Find Pivot Index [Leetcode][C++]

6
Comments
2 min read
1480. Running Sum of 1d Array [Leetcode][C++]

1480. Running Sum of 1d Array [Leetcode][C++]

7
Comments
1 min read
560. Subarray Sum Equals K [Leetcode][C++]

560. Subarray Sum Equals K [Leetcode][C++]

6
Comments
3 min read
283. Move Zeroes [Leetcode][C++]

283. Move Zeroes [Leetcode][C++]

6
Comments
1 min read
loading...