DEV Community

# leetcode

Posts

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

4
Comments
4 min read
一个字符串匹配多个字符串

一个字符串匹配多个字符串

6
Comments
1 min read
Solving Find Pivot Index from LeetCode + Explanation

Solving Find Pivot Index from LeetCode + Explanation

22
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 #3 — Longest substring without repeating characters (JavaScript)

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

2
Comments
2 min read
LeetCode problem #2 — Add two numbers (JavaScript)

LeetCode problem #2 — Add two numbers (JavaScript)

2
Comments
3 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

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