DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
26. Remove Duplicates from Sorted Array

26. Remove Duplicates from Sorted Array

1
Comments
1 min read
704. Binary Search

704. Binary Search

1
Comments
1 min read
217. Contains Duplicate

217. Contains Duplicate

1
Comments
1 min read
1480. Running Sum of 1d Array

1480. Running Sum of 1d Array

Comments
1 min read
121. Best Time to Buy and Sell Stock

121. Best Time to Buy and Sell Stock

Comments
1 min read
LeetCode - Kth Smallest Element in a Sorted Matrix

LeetCode - Kth Smallest Element in a Sorted Matrix

1
Comments
7 min read
Merge Sort On Array

Merge Sort On Array

Comments
1 min read
Merge Array Interval

Merge Array Interval

1
Comments
2 min read
Man, Machine, and the Art of Algorithmic Mastery: A GPT4 Perspective

Man, Machine, and the Art of Algorithmic Mastery: A GPT4 Perspective

9
Comments 3
3 min read
Two Sum - LeetCode problem 1 solution in python

Two Sum - LeetCode problem 1 solution in python

Comments
2 min read
LeetCode - Minimize Maximum Pair Sum in Array

LeetCode - Minimize Maximum Pair Sum in Array

2
Comments
3 min read
Guide to LeetCode: A Personal Guide to the Most Common and Useful Patterns for Solving Algorithm Questions

Guide to LeetCode: A Personal Guide to the Most Common and Useful Patterns for Solving Algorithm Questions

2
Comments
10 min read
Cracking Your Technical Interview with LeetCode: A Step-by-Step Guide

Cracking Your Technical Interview with LeetCode: A Step-by-Step Guide

Comments
2 min read
LeetCode - Count Good Nodes in Binary Tree

LeetCode - Count Good Nodes in Binary Tree

1
Comments
4 min read
1207. Unique Number of Occurrences

1207. Unique Number of Occurrences

Comments
1 min read
1. Two Sum

1. Two Sum

Comments
1 min read
Solving Leetcode's "Richest Customer Wealth" Challange with Javascript

Solving Leetcode's "Richest Customer Wealth" Challange with Javascript

1
Comments
3 min read
#4: Median of Two Sorted Arrays

#4: Median of Two Sorted Arrays

3
Comments 1
4 min read
LeetCode #283 Move Zeroes with JavaScript

LeetCode #283 Move Zeroes with JavaScript

1
Comments
1 min read
LeetCode - Reverse Words in a String

LeetCode - Reverse Words in a String

1
Comments
5 min read
Award Budget Cuts

Award Budget Cuts

1
Comments
2 min read
#1 Two Sum Array Problem LeetCode Solve With HashMap Java| Solve Problem Java Leetcode #2023 #tech

#1 Two Sum Array Problem LeetCode Solve With HashMap Java| Solve Problem Java Leetcode #2023 #tech

1
Comments
2 min read
LeetCode - Minimum Operations to Make Array Equal

LeetCode - Minimum Operations to Make Array Equal

2
Comments
3 min read
Best time to Buy and Sell Stock

Best time to Buy and Sell Stock

1
Comments
2 min read
Day 1 as an Observer

Day 1 as an Observer

2
Comments 1
2 min read
Greatest Common Divisor of Strings

Greatest Common Divisor of Strings

1
Comments
2 min read
Anagram solution

Anagram solution

1
Comments
1 min read
Product of Array Except Self

Product of Array Except Self

1
Comments
1 min read
5 Useful chrome extensions for Leetcode 👩‍💻

5 Useful chrome extensions for Leetcode 👩‍💻

3
Comments
2 min read
Contains Duplicate

Contains Duplicate

1
Comments
1 min read
LeetCode #104 Maximum Depth of Binary Tree with JavaScript

LeetCode #104 Maximum Depth of Binary Tree with JavaScript

Comments 1
1 min read
Mastering Data Structures and Algorithms: A Guide to the Most Important Topics

Mastering Data Structures and Algorithms: A Guide to the Most Important Topics

1
Comments
2 min read
9. Palindrome Number

9. Palindrome Number

Comments
2 min read
26. Remove Duplicates from Sorted Array

26. Remove Duplicates from Sorted Array

Comments
3 min read
2306. Naming a Company

2306. Naming a Company

Comments
2 min read
59. Spiral Matrix II

59. Spiral Matrix II

Comments
1 min read
974. Subarray Sums Divisible by K

974. Subarray Sums Divisible by K

Comments
1 min read
Robber I & II

Robber I & II

Comments
1 min read
LeetCode #141 Linked List Cycle with JavaScript

LeetCode #141 Linked List Cycle with JavaScript

Comments
1 min read
LeetCode #101 Symmetric Tree with JavaScript

LeetCode #101 Symmetric Tree with JavaScript

1
Comments
1 min read
Median of Two Sorted Arrays

Median of Two Sorted Arrays

Comments
2 min read
1. Two Sum

1. Two Sum

Comments
2 min read
LeetCode #136 Single Number with JavaScript

LeetCode #136 Single Number with JavaScript

Comments
1 min read
LeetCode #121. Best Time to Buy and Sell Stock with JavaScript

LeetCode #121. Best Time to Buy and Sell Stock with JavaScript

Comments
1 min read
1519. Number of Nodes in the Sub-Tree With the Same Label

1519. Number of Nodes in the Sub-Tree With the Same Label

2
Comments 2
2 min read
Intersection of Two Arrays II || Leetcode Problem Solution

Intersection of Two Arrays II || Leetcode Problem Solution

1
Comments
2 min read
110. Balanced Binary Tree

110. Balanced Binary Tree

Comments
1 min read
149. Max Points on a Line

149. Max Points on a Line

Comments
1 min read
234. Palindrome Linked List

234. Palindrome Linked List

1
Comments
1 min read
M - Coloring / Flower Planting With No Adjacent

M - Coloring / Flower Planting With No Adjacent

1
Comments
1 min read
926. Flip String to Monotone Increasing

926. Flip String to Monotone Increasing

1
Comments
1 min read
787. Cheapest Flights Within K Stops

787. Cheapest Flights Within K Stops

Comments
2 min read
LeetCode #118 Pascal's Triangle with JavaScript

LeetCode #118 Pascal's Triangle with JavaScript

Comments
1 min read
Optimizing to find the top 3 numbers from an array

Optimizing to find the top 3 numbers from an array

Comments
1 min read
LeetCode #94 Binary Tree Inorder Traversal with JavaScript

LeetCode #94 Binary Tree Inorder Traversal with JavaScript

1
Comments
1 min read
Number of Closed Islands

Number of Closed Islands

Comments
1 min read
1443. Minimum Time to Collect All Apples in a Tree

1443. Minimum Time to Collect All Apples in a Tree

Comments
2 min read
Restore IP Address

Restore IP Address

Comments
1 min read
100. Same Tree

100. Same Tree

Comments
1 min read
14. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal

14. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal

Comments
2 min read
loading...