DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Visual map of LeetCode problems by patterns & sub-patterns

Visual map of LeetCode problems by patterns & sub-patterns

Comments
1 min read
All Paths From Source to Target: Coding Problem

All Paths From Source to Target: Coding Problem

Comments
4 min read
Leetcode Sunday #1

Leetcode Sunday #1

Comments
3 min read
Bag of Tokens (Greedy Two Pointer Technique)

Bag of Tokens (Greedy Two Pointer Technique)

Comments
1 min read
How I Identify the Right DSA Pattern (Before Writing Any Code)

How I Identify the Right DSA Pattern (Before Writing Any Code)

2
Comments
3 min read
Mahdi Shamlou | Solving LeetCode #5: Longest Palindromic Substring — My Expand-Around-Center Adventure

Mahdi Shamlou | Solving LeetCode #5: Longest Palindromic Substring — My Expand-Around-Center Adventure

1
Comments
2 min read
LeetCode vs Educative: Which Is Better for Interview Prep in 2026?

LeetCode vs Educative: Which Is Better for Interview Prep in 2026?

Comments
5 min read
Mahdi Shamlou | Solving LeetCode #8: String to Integer (atoi) — Step by Step

Mahdi Shamlou | Solving LeetCode #8: String to Integer (atoi) — Step by Step

1
Comments
2 min read
Mahdi Shamlou | Solving LeetCode #7: Reverse Integer — My Math-Based Reversal with Overflow Safety

Mahdi Shamlou | Solving LeetCode #7: Reverse Integer — My Math-Based Reversal with Overflow Safety

1
Comments
2 min read
LeetCode #347. Top K Frequent Element

LeetCode #347. Top K Frequent Element

Comments
1 min read
Mahdi Shamlou | Solving LeetCode #6: Zigzag Conversion — My Row-by-Row Simulation Fun Way

Mahdi Shamlou | Solving LeetCode #6: Zigzag Conversion — My Row-by-Row Simulation Fun Way

1
Comments
2 min read
Dynamic Programming: 7 Patterns That Solve 90% of DP Problems

Dynamic Programming: 7 Patterns That Solve 90% of DP Problems

Comments
5 min read
Merge Strings Alternately

Merge Strings Alternately

1
Comments
1 min read
Two Pointers Intuition for LeetCode Beginners: A Step-by-Step Visual Guide

Two Pointers Intuition for LeetCode Beginners: A Step-by-Step Visual Guide

Comments
6 min read
LeetCode vs NeetCode: Which Platform Should You Use in 2026?

LeetCode vs NeetCode: Which Platform Should You Use in 2026?

1
Comments
7 min read
Test Case 23/47 Failed? The 'Hidden Input' Debugging Protocol

Test Case 23/47 Failed? The 'Hidden Input' Debugging Protocol

Comments
9 min read
NeetCode vs AlgoMonster: Which Is Better for Coding Interviews?

NeetCode vs AlgoMonster: Which Is Better for Coding Interviews?

Comments
6 min read
Stop Using Extra Arrays: Mastering the Two-Pointer Approach

Stop Using Extra Arrays: Mastering the Two-Pointer Approach

Comments
4 min read
Solving The Add Two Numbers Leetcode Question

Solving The Add Two Numbers Leetcode Question

Comments
3 min read
How to Debug When My LeetCode Solution Fails on Hidden Test Cases

How to Debug When My LeetCode Solution Fails on Hidden Test Cases

Comments
10 min read
3510. Minimum Pair Removal to Sort Array II

3510. Minimum Pair Removal to Sort Array II

Comments
4 min read
57. Insert Interval | LeetCode | Top Interview 150 | Coding Questions

57. Insert Interval | LeetCode | Top Interview 150 | Coding Questions

6
Comments
1 min read
How to Know Which Algorithm to Use on LeetCode (Pattern Decision Tree + Cheat Sheet)

How to Know Which Algorithm to Use on LeetCode (Pattern Decision Tree + Cheat Sheet)

Comments
10 min read
Day-2 (1929)-Arrays

Day-2 (1929)-Arrays

Comments
1 min read
Why Do I Keep Forgetting LeetCode Solutions After Solving Them? (And How to Fix It)

Why Do I Keep Forgetting LeetCode Solutions After Solving Them? (And How to Fix It)

Comments
9 min read
loading...