Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Search
Log in
Create account
DEV Community
Close
Algorithm of the Day Series' Articles
Back to Alisa Bajramovic's Series
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
Kadane's Algorithm & The Maximum Subarray Problem
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 14 '20
Kadane's Algorithm & The Maximum Subarray Problem
#
algorithms
#
javascript
#
kadane
#
codenewbie
52
reactions
Comments
3
comments
5 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
Finding the Middle of a Linked List
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 17 '20
Finding the Middle of a Linked List
#
javascript
#
linkedlist
#
algorithms
#
codenewbie
34
reactions
Comments
2
comments
3 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
The Stock Span Problem: Using Stacks To Keep Track Of What's Been Seen
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 19 '20
The Stock Span Problem: Using Stacks To Keep Track Of What's Been Seen
#
algorithms
#
javascript
#
stacks
#
codenewbie
10
reactions
Comments
1
comment
5 min read
Finding the Kth Smallest Element: Walking Through How To Use Depth First Search on a Binary Search Tree
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 20 '20
Finding the Kth Smallest Element: Walking Through How To Use Depth First Search on a Binary Search Tree
#
binarysearchtree
#
algorithms
#
javascript
#
codenewbie
11
reactions
Comments
Add Comment
6 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
Sorting Characters in a String By Their Frequency
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 22 '20
Sorting Characters in a String By Their Frequency
#
javascript
#
algorithms
#
hash
#
codenewbie
13
reactions
Comments
2
comments
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
Finding the Minimum Path Sum in a Grid with Dynamic Programming
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 26 '20
Finding the Minimum Path Sum in a Grid with Dynamic Programming
#
dynamicprogramming
#
javascript
#
algorithms
#
codenewbie
9
reactions
Comments
1
comment
7 min read
Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 27 '20
Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List
#
algorithms
#
javascript
#
codenewbie
#
linkedlist
104
reactions
Comments
7
comments
4 min read
The Sieve of Eratosthenes: Counting the Number of Primes
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 28 '20
The Sieve of Eratosthenes: Counting the Number of Primes
#
javascript
#
algorithms
#
codenewbie
#
primenumbers
13
reactions
Comments
Add Comment
3 min read
Add Two Numbers Problems: How to Sum Two Linked Lists
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
May 29 '20
Add Two Numbers Problems: How to Sum Two Linked Lists
#
javascript
#
linkedlist
#
algorithms
#
codenewbie
26
reactions
Comments
3
comments
6 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
Merging Sorted Lists, Two Ways
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 2 '20
Merging Sorted Lists, Two Ways
#
recursion
#
iteration
#
javascript
#
codenewbie
12
reactions
Comments
Add Comment
9 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
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
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
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
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
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
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
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
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
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
The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 17 '20
The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant
#
javascript
#
leetcode
#
codenewbie
#
algorithms
118
reactions
Comments
10
comments
5 min read
Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 18 '20
Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees
#
javascript
#
codenewbie
#
algorithms
#
leetcode
19
reactions
Comments
2
comments
6 min read
Turning 38 into 2: How to Solve the Add Digits Problem
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 23 '20
Turning 38 into 2: How to Solve the Add Digits Problem
#
leetcode
#
javascript
#
algorithms
#
codenewbie
11
reactions
Comments
7
comments
5 min read
The Gauss Sum, and Solving for the Missing Number
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 24 '20
The Gauss Sum, and Solving for the Missing Number
#
algorithms
#
leetcode
#
javascript
#
codenewbie
14
reactions
Comments
2
comments
3 min read
Is this Number the Sum of Two Square Integers? Solving The Sum of Squares Algorithm Two Ways
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 26 '20
Is this Number the Sum of Two Square Integers? Solving The Sum of Squares Algorithm Two Ways
#
leetcode
#
algorithms
#
javascript
#
codenewbie
8
reactions
Comments
Add Comment
4 min read
The Word Pattern Algorithm: How to Test if a String Follows a Pattern
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jun 29 '20
The Word Pattern Algorithm: How to Test if a String Follows a Pattern
#
leetcode
#
javascript
#
codenewbie
#
algorithms
12
reactions
Comments
1
comment
5 min read
Finding the Intersection of Two Arrays
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 2 '20
Finding the Intersection of Two Arrays
#
javascript
#
algorithms
#
codenewbie
#
computerscience
10
reactions
Comments
1
comment
3 min read
Top Interview Question: Finding the First Unique Character in a String using Linear Time
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 5 '20
Top Interview Question: Finding the First Unique Character in a String using Linear Time
#
javascript
#
codenewbie
#
computerscience
#
algorithms
16
reactions
Comments
2
comments
4 min read
Solving Pascal's Triangle in JavaScript
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 7 '20
Solving Pascal's Triangle in JavaScript
#
computerscience
#
codenewbie
#
javascript
#
algorithms
29
reactions
Comments
3
comments
4 min read
The Maximum Number of Events Problem
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 10 '20
The Maximum Number of Events Problem
#
javascript
#
codenewbie
#
algorithms
#
computerscience
12
reactions
Comments
Add Comment
5 min read
Solving Binary Tree Algorithms Using Recursion and Queues
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 13 '20
Solving Binary Tree Algorithms Using Recursion and Queues
#
javascript
#
codenewbie
#
recursion
#
queues
11
reactions
Comments
Add Comment
5 min read
From "hello world" to "world hello": Reversing the Words in a String
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 15 '20
From "hello world" to "world hello": Reversing the Words in a String
#
javascript
#
technicalinterviews
#
algorithms
#
codenewbie
17
reactions
Comments
4
comments
4 min read
Finding the Most Frequent Elements in an Array
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 17 '20
Finding the Most Frequent Elements in an Array
#
javascript
#
codenewbie
#
algorithms
#
computerscience
12
reactions
Comments
1
comment
4 min read
Finding the Angle Between the Hands of a Clock
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Jul 22 '20
Finding the Angle Between the Hands of a Clock
#
javascript
#
codenewbie
#
algorithms
#
leetcode
25
reactions
Comments
1
comment
5 min read
The Container with the Most Water: Solving an Algorithm about Areas
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Aug 28 '20
The Container with the Most Water: Solving an Algorithm about Areas
#
javascript
#
leetcode
#
algorithms
#
codenewbie
7
reactions
Comments
Add Comment
5 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account