DEV Community

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
I didn’t know how to solve this Leetcode Problem!😭😭😭

I didn’t know how to solve this Leetcode Problem!😭😭😭

6
Comments
2 min read
LeetCode: Single Element in a Sorted Array

LeetCode: Single Element in a Sorted Array

5
Comments
2 min read
Inching Towards Insertion Sort

Inching Towards Insertion Sort

12
Comments 1
13 min read
LeetCode: Ransom Note

LeetCode: Ransom Note

5
Comments
2 min read
Bubbling Up With Bubble Sorts

Bubbling Up With Bubble Sorts

16
Comments 4
14 min read
FCC Algorithm Challenges / Find the Longest Word in a String

FCC Algorithm Challenges / Find the Longest Word in a String

5
Comments
3 min read
Exponentially Easy Selection Sort

Exponentially Easy Selection Sort

23
Comments 7
13 min read
Sorting Out The Basics Behind Sorting Algorithms

Sorting Out The Basics Behind Sorting Algorithms

63
Comments 9
12 min read
Project Euler: Problem 5 Walkthrough

Project Euler: Problem 5 Walkthrough

3
Comments
1 min read
FCC Algorithm Challenges / Convert Celsius to Fahrenheit

FCC Algorithm Challenges / Convert Celsius to Fahrenheit

7
Comments
3 min read
Project Euler: Problem 5 Overview

Project Euler: Problem 5 Overview

4
Comments
1 min read
A question during my interview for a Front End Developer Position and my solution

A question during my interview for a Front End Developer Position and my solution

7
Comments
2 min read
Why Math Helps Me Every Day as a Programmer

Why Math Helps Me Every Day as a Programmer

19
Comments 2
4 min read
Union-find (Disjoint-set)

Union-find (Disjoint-set)

5
Comments
3 min read
Load balancing algorithms

Load balancing algorithms

9
Comments
1 min read
Extending An Iterator

Extending An Iterator

9
Comments
1 min read
What is most challenging about learning and understanding Big O notation?

What is most challenging about learning and understanding Big O notation?

9
Comments 1
1 min read
Breaking Down Breadth-First Search

Breaking Down Breadth-First Search

11
Comments 1
11 min read
Solution to Leetcode’s Maximum Subarray

Solution to Leetcode’s Maximum Subarray

5
Comments
2 min read
A Quick Introduction: Hashing

A Quick Introduction: Hashing

27
Comments 9
2 min read
Demystifying Depth-First Search

Demystifying Depth-First Search

11
Comments 2
12 min read
Solving The Two-Sum Problem in Javascript, Three Ways

Solving The Two-Sum Problem in Javascript, Three Ways

4
Comments
11 min read
Königsberg: Seven Small Bridges, One Giant Graph Problem

Königsberg: Seven Small Bridges, One Giant Graph Problem

9
Comments 2
11 min read
Finding Strongly Connected Components in Directed Graphs using Tarjan's Algorithm

Finding Strongly Connected Components in Directed Graphs using Tarjan's Algorithm

9
Comments
2 min read
Personality Swap - new problem based on Futurama episode

Personality Swap - new problem based on Futurama episode

6
Comments
1 min read
Personality Determination Algorithm.

Personality Determination Algorithm.

7
Comments
2 min read
The curious case of multiple solutions. #1 maximum sub array problem

The curious case of multiple solutions. #1 maximum sub array problem

6
Comments
3 min read
Looking For The Logic Behind Logarithms

Looking For The Logic Behind Logarithms

27
Comments 3
12 min read
A question about 'Algorithm'

A question about 'Algorithm'

2
Comments 1
1 min read
Big-O Explained

Big-O Explained

37
Comments 5
1 min read
How to determine whether a given string can be rearranged into a palindrome?

How to determine whether a given string can be rearranged into a palindrome?

5
Comments 1
2 min read
Why Data Structures and Algorithms?

Why Data Structures and Algorithms?

6
Comments
2 min read
P vs NP Algorithm Problem Types

P vs NP Algorithm Problem Types

4
Comments
1 min read
Heap Sort

Heap Sort

6
Comments
1 min read
Sorting Algorithms - Merge Sort

Sorting Algorithms - Merge Sort

5
Comments
3 min read
Solution to Leetcode's ZigZag Conversion: My thought process as a beginner

Solution to Leetcode's ZigZag Conversion: My thought process as a beginner

4
Comments
1 min read
Traversing Graphs

Traversing Graphs

7
Comments
4 min read
Comparison between greedy technique with dynamic programming

Comparison between greedy technique with dynamic programming

4
Comments
1 min read
Fractional Knapsack Problem With Solution

Fractional Knapsack Problem With Solution

4
Comments
1 min read
Divide and Conquer Algorithms with Source Code

Divide and Conquer Algorithms with Source Code

3
Comments
1 min read
Kotlin Algorithm Challenge No. 3

Kotlin Algorithm Challenge No. 3

7
Comments
2 min read
Mastering the Merge Sort Algorithm

Mastering the Merge Sort Algorithm

7
Comments
1 min read
Morris In-order Tree Traversal

Morris In-order Tree Traversal

7
Comments
2 min read
Algorithms - An introduction

Algorithms - An introduction

6
Comments
7 min read
Reimplementing grep in JavaScript using rolling hashes

Reimplementing grep in JavaScript using rolling hashes

10
Comments 1
6 min read
Kadane's Algorithm Explained| Max Sum Contiguous Subarray| Coding Interview Problem

Kadane's Algorithm Explained| Max Sum Contiguous Subarray| Coding Interview Problem

4
Comments
1 min read
What Is Recursion?

What Is Recursion?

5
Comments
1 min read
Tries

Tries

14
Comments
2 min read
Graphs

Graphs

10
Comments
3 min read
A Developer Boy and His Bubble Sort

A Developer Boy and His Bubble Sort

6
Comments
3 min read
Easier Dynamic Programming with Kotlin auto-memoized functions

Easier Dynamic Programming with Kotlin auto-memoized functions

10
Comments
1 min read
Priority Queues

Priority Queues

13
Comments
2 min read
Advent of Code -- Your New Holiday Season Routine!

Advent of Code -- Your New Holiday Season Routine!

4
Comments
4 min read
Cracking up Facebook Paris Code challenge 2019 - Part 1

Cracking up Facebook Paris Code challenge 2019 - Part 1

9
Comments 2
3 min read
Prototyping a Small Genetic Algorithms Library in Haskell

Prototyping a Small Genetic Algorithms Library in Haskell

10
Comments
12 min read
YouTube's Algorithm:

YouTube's Algorithm:

6
Comments
5 min read
Our algorithms overlords

Our algorithms overlords

42
Comments 6
3 min read
Image Processing MATLAB Laplacian Algoritması

Image Processing MATLAB Laplacian Algoritması

4
Comments
1 min read
Using the string.replace method in Javascript

Using the string.replace method in Javascript

7
Comments
2 min read
Swapping two numbers, w/o a temp variable

Swapping two numbers, w/o a temp variable

67
Comments 30
2 min read
loading...