Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Search
Log in
Create account
DEV Community
Close
#
leetcode
Follow
Hide
Posts
Left menu
👋
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
Not an "Easy" Algorithm: Rotating an Array, Three Ways
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 12 '20
Not an "Easy" Algorithm: Rotating an Array, Three Ways
#
javascript
#
codenewbie
#
leetcode
#
algorithms
88
reactions
Comments
19
comments
11 min read
Searching an Array, Two Ways
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 16 '20
Searching an Array, Two Ways
#
javascript
#
codenewbie
#
leetcode
#
algorithms
9
reactions
Comments
3
comments
6 min read
Sudoku Part I: Is the Board Valid?
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 15 '20
Sudoku Part I: Is the Board Valid?
#
leetcode
#
algorithms
#
codenewbie
#
javascript
10
reactions
Comments
Add Comment
9 min read
The Longest Palindromic Substring: Solving the Problem Using Constant Space
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 8 '20
The Longest Palindromic Substring: Solving the Problem Using Constant Space
#
javascript
#
algorithms
#
leetcode
#
codenewbie
67
reactions
Comments
5
comments
14 min read
Container with Most Water
Ben Steadman
Ben Steadman
Ben Steadman
Follow
Jun 11 '20
Container with Most Water
#
rust
#
algorithms
#
compsci
#
leetcode
7
reactions
Comments
4
comments
5 min read
Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 11 '20
Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List
#
javascript
#
codenewbie
#
leetcode
#
algorithms
11
reactions
Comments
Add Comment
5 min read
Solving the Best Time to Buy and Sell Stocks Problem in One Pass
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 10 '20
Solving the Best Time to Buy and Sell Stocks Problem in One Pass
#
javascript
#
algorithms
#
codenewbie
#
leetcode
27
reactions
Comments
2
comments
7 min read
Removing an Element in an Array In-Place
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 9 '20
Removing an Element in an Array In-Place
#
javascript
#
codenewbie
#
algorithms
#
leetcode
22
reactions
Comments
2
comments
5 min read
The ZigZag Conversion Problem
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 5 '20
The ZigZag Conversion Problem
#
javascript
#
algorithms
#
codenewbie
#
leetcode
25
reactions
Comments
1
comment
7 min read
Reversing a String in Place
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 4 '20
Reversing a String in Place
#
javascript
#
algorithms
#
codenewbie
#
leetcode
14
reactions
Comments
1
comment
4 min read
Finding the Longest Common Prefix
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 3 '20
Finding the Longest Common Prefix
#
javascript
#
codenewbie
#
leetcode
#
algorithms
12
reactions
Comments
2
comments
5 min read
Invert a Binary tree Leetcode solution
deepa
deepa
deepa
Follow
Jun 1 '20
Invert a Binary tree Leetcode solution
#
challenge
#
binarytree
#
leetcode
#
algorithm
6
reactions
Comments
3
comments
1 min read
The Longest Substring With No Repeating Characters
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 1 '20
The Longest Substring With No Repeating Characters
#
javascript
#
algorithms
#
leetcode
#
codenewbie
11
reactions
Comments
1
comment
6 min read
Another Algorithm: Rotate Array with JavaScript
Clark Johnson
Clark Johnson
Clark Johnson
Follow
Jun 1 '20
Another Algorithm: Rotate Array with JavaScript
#
javascript
#
algorithms
#
leetcode
7
reactions
Comments
Add Comment
3 min read
Leetcode Problem: Three sum
Deepak Venkatachalam
Deepak Venkatachalam
Deepak Venkatachalam
Follow
May 28 '20
Leetcode Problem: Three sum
#
java
#
leetcode
#
programming
7
reactions
Comments
1
comment
3 min read
Finding the Intersection of Two Arrays
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 26 '20
Finding the Intersection of Two Arrays
#
arrays
#
javascript
#
leetcode
#
algorithms
8
reactions
Comments
1
comment
3 min read
Leetcode May Challenge "Count Square Submatrices with All Ones"
Fatema Abdelhadi
Fatema Abdelhadi
Fatema Abdelhadi
Follow
May 22 '20
Leetcode May Challenge "Count Square Submatrices with All Ones"
#
leetcode
#
dynamicprogramming
#
java
#
beginners
10
reactions
Comments
1
comment
4 min read
The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 21 '20
The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array
#
algorithms
#
codenewbie
#
javascript
#
leetcode
18
reactions
Comments
2
comments
5 min read
LeetCode: Online Stock Span
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 20 '20
LeetCode: Online Stock Span
#
leetcode
#
datastructures
#
algorithms
#
stack
6
reactions
Comments
Add Comment
2 min read
LeetCode: Permutation in String
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 19 '20
LeetCode: Permutation in String
#
leetcode
#
datastructures
#
algorithms
#
slidingwindow
8
reactions
Comments
Add Comment
2 min read
LeetCode: Odd Even Linked List
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 19 '20
LeetCode: Odd Even Linked List
#
datastructures
#
algorithms
#
leetcode
#
linkedlist
5
reactions
Comments
Add Comment
2 min read
LeetCode: Find All Anagrams in a String
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 19 '20
LeetCode: Find All Anagrams in a String
#
leetcode
#
datastructures
#
algorithms
#
slidingwindow
6
reactions
Comments
Add Comment
2 min read
LeetCode: Maximum Sum Circular Subarray
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 19 '20
LeetCode: Maximum Sum Circular Subarray
#
datastructures
#
algorithms
#
leetcode
#
dp
7
reactions
Comments
Add Comment
5 min read
Backspace String Comparisons: Two Ways To Approach a Common Algorithm
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 18 '20
Backspace String Comparisons: Two Ways To Approach a Common Algorithm
#
javascript
#
algorithms
#
codenewbie
#
leetcode
11
reactions
Comments
6
comments
7 min read
Finding the Only Single Number in an Array
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 15 '20
Finding the Only Single Number in an Array
#
algorithms
#
leetcode
#
javascript
#
codenewbie
20
reactions
Comments
4
comments
3 min read
The Happy Number Problem
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 13 '20
The Happy Number Problem
#
javascript
#
leetcode
#
algorithms
#
recursion
77
reactions
Comments
9
comments
4 min read
LeetCode: Remove K Digits
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 15 '20
LeetCode: Remove K Digits
#
leetcode
#
datastructure
#
algorithms
#
greedy
3
reactions
Comments
Add Comment
4 min read
LeetCode: Single Element in a Sorted Array
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 13 '20
LeetCode: Single Element in a Sorted Array
#
leetcode
#
datastructure
#
algorithms
#
binarysearch
5
reactions
Comments
Add Comment
2 min read
LeetCode: Flood Fill
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 12 '20
LeetCode: Flood Fill
#
datastructures
#
algorithms
#
leetcode
#
bfs
7
reactions
Comments
Add Comment
3 min read
Solution to Leetcode's Flood Fill Question (interesting Question)
codechunker
codechunker
codechunker
Follow
May 12 '20
Solution to Leetcode's Flood Fill Question (interesting Question)
#
leetcode
#
tutorial
#
algorithms
#
codenewbie
4
reactions
Comments
Add Comment
3 min read
Best Time to Buy and Sell Stock
Nayeem Reza
Nayeem Reza
Nayeem Reza
Follow
May 11 '20
Best Time to Buy and Sell Stock
#
codinginterview
#
problemsolving
#
cpp
#
leetcode
7
reactions
Comments
Add Comment
2 min read
Two Sum
Nayeem Reza
Nayeem Reza
Nayeem Reza
Follow
May 11 '20
Two Sum
#
codinginterview
#
problemsolving
#
cpp
#
leetcode
4
reactions
Comments
Add Comment
3 min read
LeetCode: Find the Town Judge
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 11 '20
LeetCode: Find the Town Judge
#
leetcode
#
datastructures
#
algorithms
#
hashing
6
reactions
Comments
Add Comment
2 min read
Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II
codechunker
codechunker
codechunker
Follow
May 10 '20
Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II
#
leetcode
#
tutorial
#
codenewbie
#
algorithms
4
reactions
Comments
Add Comment
2 min read
Solution to Leetcode’s Valid Perfect Square
codechunker
codechunker
codechunker
Follow
May 9 '20
Solution to Leetcode’s Valid Perfect Square
#
tutorial
#
codenewbie
#
leetcode
#
algorithms
5
reactions
Comments
Add Comment
2 min read
LeetCode: Cousins in Binary Tree
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 8 '20
LeetCode: Cousins in Binary Tree
#
datastuctures
#
algorithms
#
leetcode
#
bfs
6
reactions
Comments
Add Comment
3 min read
LeetCode: Majority Element
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Aroup Goldar Dhruba
Follow
May 7 '20
LeetCode: Majority Element
#
datastructures
#
algorithms
#
leetcode
#
greedy
9
reactions
Comments
1
comment
3 min read
Add two numbers without arithmetic operators 🙅♂️➕
Abhishek Keshri
Abhishek Keshri
Abhishek Keshri
Follow
May 3 '20
Add two numbers without arithmetic operators 🙅♂️➕
#
leetcode
#
logic
#
problem
#
programming
6
reactions
Comments
Add Comment
3 min read
LeetCode 1365. How Many Numbers Are Smaller Than the Current Number
Narek Babajanyan
Narek Babajanyan
Narek Babajanyan
Follow
May 2 '20
LeetCode 1365. How Many Numbers Are Smaller Than the Current Number
#
csharp
#
algorithms
#
leetcode
6
reactions
Comments
Add Comment
2 min read
Multi-File Org-Babel Tangles with Include Directives
Josh Holbrook
Josh Holbrook
Josh Holbrook
Follow
Apr 24 '20
Multi-File Org-Babel Tangles with Include Directives
#
emacs
#
org
#
literateprogramming
#
leetcode
13
reactions
Comments
2
comments
4 min read
30-Day LeetCoding Challenge: Perform String Shifts
Ahmad Ra'fat
Ahmad Ra'fat
Ahmad Ra'fat
Follow
Apr 15 '20
30-Day LeetCoding Challenge: Perform String Shifts
#
python
#
leetcode
#
coding
#
algorithms
3
reactions
Comments
2
comments
3 min read
LeetCode Challenge: Group Anagrams
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 15 '20
LeetCode Challenge: Group Anagrams
#
computerscience
#
beginners
#
leetcode
#
problemsolving
7
reactions
Comments
Add Comment
3 min read
30-Day LeetCoding Challenge: Contiguous Array
Ahmad Ra'fat
Ahmad Ra'fat
Ahmad Ra'fat
Follow
Apr 14 '20
30-Day LeetCoding Challenge: Contiguous Array
#
python
#
leetcode
#
coding
#
algorithms
6
reactions
Comments
Add Comment
3 min read
LeetCode Challenge: Best Time to Buy and Sell Stock II
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 13 '20
LeetCode Challenge: Best Time to Buy and Sell Stock II
#
computerscience
#
beginners
#
leetcode
#
problemsolving
3
reactions
Comments
Add Comment
3 min read
LeetCode Challenge: Move Zeroes
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 11 '20
LeetCode Challenge: Move Zeroes
#
computerscience
#
beginners
#
leetcode
#
problemsolving
7
reactions
Comments
Add Comment
2 min read
Lowest Common Ancestor of a Binary Search Tree
Nic
Nic
Nic
Follow
Apr 12 '20
Lowest Common Ancestor of a Binary Search Tree
#
leetcode
#
algorithms
8
reactions
Comments
Add Comment
2 min read
Lowest Common Ancestor of a Binary Tree
Nic
Nic
Nic
Follow
Apr 11 '20
Lowest Common Ancestor of a Binary Tree
#
leetcode
#
algorithms
6
reactions
Comments
Add Comment
2 min read
LeetCode Challenge: Maximum Subarray
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 10 '20
LeetCode Challenge: Maximum Subarray
#
computerscience
#
beginners
#
leetcode
#
problemsolving
15
reactions
Comments
Add Comment
4 min read
30-Day LeetCoding Challenge: Backspace String Compare
Ahmad Ra'fat
Ahmad Ra'fat
Ahmad Ra'fat
Follow
Apr 10 '20
30-Day LeetCoding Challenge: Backspace String Compare
#
python
#
leetcode
#
coding
#
algorithms
5
reactions
Comments
Add Comment
3 min read
LeetCode Challenge: Happy Number
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 9 '20
LeetCode Challenge: Happy Number
#
leetcode
#
computerscience
#
problemsolving
#
beginners
5
reactions
Comments
Add Comment
5 min read
Find The Length of the Longest Substring Without Repeating Characters - Javascript Solution
themmyloluwaa
themmyloluwaa
themmyloluwaa
Follow
Apr 8 '20
Find The Length of the Longest Substring Without Repeating Characters - Javascript Solution
#
javascript
#
algorithms
#
leetcode
13
reactions
Comments
2
comments
3 min read
LeetCode Challenge: Single Number
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 8 '20
LeetCode Challenge: Single Number
#
leetcode
#
computerscience
#
problemsolving
#
beginners
12
reactions
Comments
Add Comment
7 min read
30-Day Leetcoding Challenge
Bharath Sriraam R R
Bharath Sriraam R R
Bharath Sriraam R R
Follow
Apr 8 '20
30-Day Leetcoding Challenge
#
leetcode
#
computerscience
#
problemsolving
#
beginners
7
reactions
Comments
Add Comment
3 min read
30-Day LeetCoding Challenge: Move Zeroes
Ahmad Ra'fat
Ahmad Ra'fat
Ahmad Ra'fat
Follow
Apr 6 '20
30-Day LeetCoding Challenge: Move Zeroes
#
python
#
leetcode
#
coding
#
algorithms
6
reactions
Comments
Add Comment
3 min read
30-Day LeetCoding Challenge (Day-1)
Sadi
Sadi
Sadi
Follow
Apr 2 '20
30-Day LeetCoding Challenge (Day-1)
#
leetcode
#
30daychallenge
#
bitwisexor
#
cpp
6
reactions
Comments
4
comments
2 min read
Solution & Explanation: Leetcode 30 Day Challenge Day 1 - Single Number
Esco Obong
Esco Obong
Esco Obong
Follow
Apr 2 '20
Solution & Explanation: Leetcode 30 Day Challenge Day 1 - Single Number
#
leetcode
#
computerscience
#
algorithms
#
javascript
8
reactions
Comments
1
comment
2 min read
The Walkthrough: Two Sum (LeetCode 1)
Zohaib Shahzad
Zohaib Shahzad
Zohaib Shahzad
Follow
Mar 22 '20
The Walkthrough: Two Sum (LeetCode 1)
#
tutorial
#
javascript
#
leetcode
7
reactions
Comments
Add Comment
3 min read
LeetCode problems for Beginners
Nic
Nic
Nic
Follow
Mar 19 '20
LeetCode problems for Beginners
#
leetcode
#
algorithms
64
reactions
Comments
4
comments
2 min read
How come job interviews turned in LeetCode familiarity?
sunflowerseed
sunflowerseed
sunflowerseed
Follow
Feb 24 '20
How come job interviews turned in LeetCode familiarity?
#
anonymous
#
discuss
#
leetcode
#
interview
5
reactions
Comments
4
comments
2 min read
Number of Islands - Union Find Solution
Shoryu
Shoryu
Shoryu
Follow
Feb 22 '20
Number of Islands - Union Find Solution
#
python
#
beginners
#
leetcode
#
computerscience
6
reactions
Comments
1
comment
2 min read
loading...
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account