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.
Two Ways To Check For Anagrams in JavaScript

Two Ways To Check For Anagrams in JavaScript

11
Comments
5 min read
Intersection Of Two Linked Lists

Intersection Of Two Linked Lists

12
Comments
3 min read
Topological Sorting of Directed Acyclic Graphs (DAGs)

Topological Sorting of Directed Acyclic Graphs (DAGs)

12
Comments
3 min read
Understanding and tuning fuzzy queries in ElasticSearch by example

Understanding and tuning fuzzy queries in ElasticSearch by example

15
Comments 2
3 min read
Question: How was the assumption made?

Question: How was the assumption made?

4
Comments
1 min read
Finding Shortest Paths In Graphs (using Dijkstra's & BFS)

Finding Shortest Paths In Graphs (using Dijkstra's & BFS)

33
Comments 1
6 min read
Improve Your Algorithms with this Simple Equation

Improve Your Algorithms with this Simple Equation

357
Comments 26
5 min read
Java Luhn algorithm Card Number Generator

Java Luhn algorithm Card Number Generator

9
Comments 3
2 min read
Data Structures in Python

Data Structures in Python

36
Comments 8
3 min read
Prime numbers

Prime numbers

22
Comments 6
4 min read
What is O(💕)? Learn Big O Quadratic Time Complexity

What is O(💕)? Learn Big O Quadratic Time Complexity

65
Comments
8 min read
Rhea's Galaxy Map

Rhea's Galaxy Map

8
Comments
6 min read
Algorithmic problems in technical interviews

Algorithmic problems in technical interviews

6
Comments 4
1 min read
Find All Permutations of a String in Javascript

Find All Permutations of a String in Javascript

9
Comments
10 min read
Levenshtein Distance (Part 2: Gotta Go Fast)

Levenshtein Distance (Part 2: Gotta Go Fast)

16
Comments 2
8 min read
Reverse an Integer--the Right Way

Reverse an Integer--the Right Way

17
Comments 1
3 min read
Should I focus on Data Structures and Algorithms or Programming Languages?

Should I focus on Data Structures and Algorithms or Programming Languages?

10
Comments
2 min read
Sort Array by Parity

Sort Array by Parity

6
Comments 1
3 min read
Detecting Graph Cycles With Depth-First Search

Detecting Graph Cycles With Depth-First Search

20
Comments
3 min read
Levenshtein Distance (Part 1: What is it?)

Levenshtein Distance (Part 1: What is it?)

61
Comments 3
4 min read
Data Structures - A complete Reference

Data Structures - A complete Reference

16
Comments
31 min read
What is Big O Notation?

What is Big O Notation?

389
Comments 24
5 min read
Programming Template: BackTraking

Programming Template: BackTraking

9
Comments
1 min read
How to Validate Credit Card Numbers using Luhn's Algorithm

How to Validate Credit Card Numbers using Luhn's Algorithm

9
Comments
3 min read
NP-Complete & Fibonacci Heap

NP-Complete & Fibonacci Heap

10
Comments
6 min read
algodeck on github

algodeck on github

6
Comments
1 min read
Sorting and Sorting Algorithms

Sorting and Sorting Algorithms

6
Comments
5 min read
Big O Linear Time Complexity

Big O Linear Time Complexity

24
Comments
7 min read
Can you crack this google interview question? The maximum subsequence problem.

Can you crack this google interview question? The maximum subsequence problem.

39
Comments 3
1 min read
Permutations, Combinations, & Subsets

Permutations, Combinations, & Subsets

59
Comments
15 min read
Isolation Forest algorithm for anomaly detection

Isolation Forest algorithm for anomaly detection

9
Comments
9 min read
OpenCL - Let's Go Deeper - Part 2.3

OpenCL - Let's Go Deeper - Part 2.3

4
Comments
8 min read
Big-O Cheat Sheet

Big-O Cheat Sheet

463
Comments 17
1 min read
Merge sort

Merge sort

47
Comments
3 min read
Quick sort

Quick sort

9
Comments 2
2 min read
Insertion sort

Insertion sort

11
Comments
2 min read
Base64 decode explained

Base64 decode explained

7
Comments
3 min read
Proper sorting with JavaScript

Proper sorting with JavaScript

4
Comments 2
2 min read
Using Disjoint Set (Union-Find) To Create Maze

Using Disjoint Set (Union-Find) To Create Maze

50
Comments
6 min read
What you need to know about Leetcode’s Count and Say: My thought process as a beginner.

What you need to know about Leetcode’s Count and Say: My thought process as a beginner.

7
Comments
2 min read
Path Sum

Path Sum

6
Comments 2
2 min read
Calculating mean iteratively

Calculating mean iteratively

9
Comments 1
1 min read
Searching Algorithms

Searching Algorithms

56
Comments
5 min read
Random Number and Card Shuffling Algorithm

Random Number and Card Shuffling Algorithm

65
Comments 2
5 min read
Visualizing the Defective Chessboard problem

Visualizing the Defective Chessboard problem

3
Comments
6 min read
Bubble sort

Bubble sort

37
Comments 4
2 min read
Selection sort

Selection sort

12
Comments
2 min read
Queue Data Structure

Queue Data Structure

14
Comments
5 min read
Algorithms in Go: Heap Sort

Algorithms in Go: Heap Sort

20
Comments
3 min read
What is Big-O Notation? Understand Time and Space Complexity in JavaScript.

What is Big-O Notation? Understand Time and Space Complexity in JavaScript.

101
Comments 9
4 min read
The Magic of the Fibonacci Numbers & why we love computing them - part 1

The Magic of the Fibonacci Numbers & why we love computing them - part 1

9
Comments 1
4 min read
Morris Pre-order Tree Traversal

Morris Pre-order Tree Traversal

6
Comments
2 min read
Learning Algorithms Through Games

Learning Algorithms Through Games

14
Comments
2 min read
Book review: "Bad choices, how algorithms can help you think smarter and live happier" by Ali Almssawi

Book review: "Bad choices, how algorithms can help you think smarter and live happier" by Ali Almssawi

6
Comments
5 min read
Binary Exponentiation

Binary Exponentiation

7
Comments 2
2 min read
Stack Data Structure

Stack Data Structure

6
Comments
5 min read
Common Sorting Algorithms

Common Sorting Algorithms

115
Comments 2
8 min read
Daily Coding Problem #4

Daily Coding Problem #4

7
Comments 2
1 min read
How to store multiple boolean values in a compressed way with a single integer

How to store multiple boolean values in a compressed way with a single integer

13
Comments
2 min read
Generating Unique Random Data: A Practical Example Of Algorithm Analysis

Generating Unique Random Data: A Practical Example Of Algorithm Analysis

7
Comments
10 min read
loading...