DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Leetcode 342. Power of Four (Easy)

Leetcode 342. Power of Four (Easy)

5
Comments
1 min read
Solving LeetCode 1793: Maximum Score of a Good Subarray

Solving LeetCode 1793: Maximum Score of a Good Subarray

5
Comments
3 min read
#Leetcode 1361: Validating Binary Tree Nodes (Medium)

#Leetcode 1361: Validating Binary Tree Nodes (Medium)

5
Comments
2 min read
LeetCode1425: Solving Constrained Subsequence Sum with DP and Heap Approach

LeetCode1425: Solving Constrained Subsequence Sum with DP and Heap Approach

6
Comments
3 min read
The Deceptive Ease of Easy Problems on LeetCode: 10 Confidence-Boosting Challenges for Beginners

The Deceptive Ease of Easy Problems on LeetCode: 10 Confidence-Boosting Challenges for Beginners

4
Comments
4 min read
LeetCode1425. Constrained Subsequence Sum (Medium) – DP + Heap Appraoch

LeetCode1425. Constrained Subsequence Sum (Medium) – DP + Heap Appraoch

5
Comments
2 min read
My Data Structures and Algorithms Study Method

My Data Structures and Algorithms Study Method

1
Comments
3 min read
Leet code problem 563: Binary Tree Tilt

Leet code problem 563: Binary Tree Tilt

Comments
3 min read
Leetcode 2742. Painting the Walls

Leetcode 2742. Painting the Walls

5
Comments
1 min read
leetcode 1095. Find in Mountain Array (hard)

leetcode 1095. Find in Mountain Array (hard)

5
Comments
2 min read
【Video】896. Monotonic Array - Python, JavaScript, Java and C++

【Video】896. Monotonic Array - Python, JavaScript, Java and C++

Comments
4 min read
Two Sum Problem: A Straightforward Guide

Two Sum Problem: A Straightforward Guide

4
Comments
2 min read
74. Search a 2D Matrix

74. Search a 2D Matrix

Comments
1 min read
LeetCode 229. Majority Element II (Medium)

LeetCode 229. Majority Element II (Medium)

5
Comments
1 min read
String reversal in TypeScript: A step-by-step guid

String reversal in TypeScript: A step-by-step guid

1
Comments
2 min read
LeetCode - Solution for 2715. Timeout Cancellation

LeetCode - Solution for 2715. Timeout Cancellation

Comments
1 min read
Cracking the Code: Leetcode 2038 - Removing Colored Pieces with Identical Neighbors

Cracking the Code: Leetcode 2038 - Removing Colored Pieces with Identical Neighbors

6
Comments
2 min read
207. Course Schedule

207. Course Schedule

Comments
2 min read
Leetcode: Single Number (Kotlin)

Leetcode: Single Number (Kotlin)

3
Comments
1 min read
Beat the LeetCode 132. Pattern By Nilesh Raut

Beat the LeetCode 132. Pattern By Nilesh Raut

4
Comments
1 min read
LeetCode 896. Monotonic Array solution by Nilesh

LeetCode 896. Monotonic Array solution by Nilesh

6
Comments
3 min read
Cracking the LeetCode 905. Sort Array By Parity By Nilesh

Cracking the LeetCode 905. Sort Array By Parity By Nilesh

5
Comments
1 min read
Cracking the LeetCode 880. Decoded String at Index (Medium)

Cracking the LeetCode 880. Decoded String at Index (Medium)

5
Comments
1 min read
Leetcode: Linked List Cycle (Kotlin)

Leetcode: Linked List Cycle (Kotlin)

Comments
1 min read
Leet Code — 1816. Truncate Sentence

Leet Code — 1816. Truncate Sentence

1
Comments
3 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

Comments
2 min read
Cracking the Code: Leet Code 1048 - Longest String Chain (Medium) - NileshDev

Cracking the Code: Leet Code 1048 - Longest String Chain (Medium) - NileshDev

5
Comments
3 min read
Cracking the LeetCode:392 Is Subsequence?

Cracking the LeetCode:392 Is Subsequence?

5
Comments
2 min read
Inverting the Binary Magic: Making Sense of LeetCode 226

Inverting the Binary Magic: Making Sense of LeetCode 226

5
Comments
3 min read
Cracking the Code: Counting All Valid Pickup and Delivery Options

Cracking the Code: Counting All Valid Pickup and Delivery Options

6
Comments
3 min read
Cracking the Code: Finding the Duplicate Number in LeetCode 287

Cracking the Code: Finding the Duplicate Number in LeetCode 287

6
Comments
3 min read
Unlocking the Mystery of LeetCode 2612: Minimum Reverse Operations (Hard)

Unlocking the Mystery of LeetCode 2612: Minimum Reverse Operations (Hard)

6
Comments
2 min read
SQL 50–595. Big Countries

SQL 50–595. Big Countries

Comments
2 min read
DAY 105 - 155. Min Stack

DAY 105 - 155. Min Stack

Comments
3 min read
DAY 102 - 2130. Maximum Twin Sum of a Linked List

DAY 102 - 2130. Maximum Twin Sum of a Linked List

Comments
4 min read
Delete Duplicate Emails

Delete Duplicate Emails

9
Comments
2 min read
DAY 98 - Intersection of Two Linked Lists

DAY 98 - Intersection of Two Linked Lists

Comments
3 min read
Reverse Integer Algorithm in C++, Java, and Python - LeetCode Problem

Reverse Integer Algorithm in C++, Java, and Python - LeetCode Problem

2
Comments
2 min read
DAY 97 - Removing Elements from a Linked List

DAY 97 - Removing Elements from a Linked List

Comments
2 min read
How to validate a Sudoku board

How to validate a Sudoku board

5
Comments
2 min read
How to Find First and Last Position of Element in Sorted Array

How to Find First and Last Position of Element in Sorted Array

7
Comments
3 min read
Leet Code — 1967. Number of Strings That Appear as Substrings in Word

Leet Code — 1967. Number of Strings That Appear as Substrings in Word

Comments
2 min read
Unraveling the LeetCode Two Sum Challenge

Unraveling the LeetCode Two Sum Challenge

Comments
2 min read
LeetCode vs HackerRank: What’s the Most Popular Website to Learn Coding?

LeetCode vs HackerRank: What’s the Most Popular Website to Learn Coding?

Comments
10 min read
DAY 91 - 51. N-Queens

DAY 91 - 51. N-Queens

Comments
3 min read
Leet Code — 2744. Find Maximum Number of String Pairs

Leet Code — 2744. Find Maximum Number of String Pairs

2
Comments 3
3 min read
DAY 89 - Kadane's Algorithm

DAY 89 - Kadane's Algorithm

Comments
4 min read
DAY 87 - 2483. Minimum Penalty for a Shop

DAY 87 - 2483. Minimum Penalty for a Shop

Comments
2 min read
Leet Code — 2315. Count Asterisks

Leet Code — 2315. Count Asterisks

2
Comments
2 min read
Mastering Data Structures and Algorithms: Planting Flowers with No Adjacent Blooms

Mastering Data Structures and Algorithms: Planting Flowers with No Adjacent Blooms

3
Comments 2
3 min read
EXPOSED: The Leetcode C++ Cheat Code!!

EXPOSED: The Leetcode C++ Cheat Code!!

3
Comments 1
3 min read
Key Steps to Prepare for a Software Engineer Interview

Key Steps to Prepare for a Software Engineer Interview

5
Comments 1
11 min read
DAY 83 - MATRIX MEDIAN

DAY 83 - MATRIX MEDIAN

1
Comments
3 min read
Leet Code — 2828. Check if a String Is an Acronym of Words

Leet Code — 2828. Check if a String Is an Acronym of Words

Comments
3 min read
Length of Last Word in TypeScript

Length of Last Word in TypeScript

1
Comments
2 min read
DAY 78 - Finding Kth Missing Positive Integer

DAY 78 - Finding Kth Missing Positive Integer

Comments
2 min read
DAY 76 - Minimum Number of days to make m bouquets.

DAY 76 - Minimum Number of days to make m bouquets.

Comments
3 min read
🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

11
Comments
4 min read
DAY 75 - 875. Koko Eating Bananas

DAY 75 - 875. Koko Eating Bananas

Comments
3 min read
DAY 74 - 239. Sliding Window Maximum

DAY 74 - 239. Sliding Window Maximum

Comments
3 min read
loading...