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.
How "Mazes for programmers" book made programming fun again 🎉

How "Mazes for programmers" book made programming fun again 🎉

9
Comments 2
4 min read
The big STL Algorithms tutorial: modifying sequence operations - fill and generate

The big STL Algorithms tutorial: modifying sequence operations - fill and generate

10
Comments
5 min read
Algorithm 101: 6 Ways to Find the Longest Word in a Sentence

Algorithm 101: 6 Ways to Find the Longest Word in a Sentence

37
Comments 8
2 min read
Algorithm 101: 9 Ways to Search and Replace a Word

Algorithm 101: 9 Ways to Search and Replace a Word

10
Comments
2 min read
You Need to Learn Proof By Induction

You Need to Learn Proof By Induction

20
Comments 1
4 min read
CodeToday: "Find Intersection" Algorithm, Coderbyte

CodeToday: "Find Intersection" Algorithm, Coderbyte

10
Comments
4 min read
Algorithms in Go: Length of the Longest Substring

Algorithms in Go: Length of the Longest Substring

17
Comments
2 min read
Prepping for Data Structures and Algorithm

Prepping for Data Structures and Algorithm

8
Comments
1 min read
Big O Notation: Powers of N

Big O Notation: Powers of N

17
Comments 2
5 min read
Prepping for DSAs: Make Array Consecutive

Prepping for DSAs: Make Array Consecutive

6
Comments
2 min read
Javascript Array Methods: Re-implementing Slice 🍕

Javascript Array Methods: Re-implementing Slice 🍕

8
Comments
2 min read
Recursion in daily programming!

Recursion in daily programming!

45
Comments 2
3 min read
Algorithm 101: 6 Ways to Check if a Word is a Palindrome

Algorithm 101: 6 Ways to Check if a Word is a Palindrome

23
Comments 8
2 min read
Algorithm 101: 3 Ways to Find Hamming Distance

Algorithm 101: 3 Ways to Find Hamming Distance

11
Comments
2 min read
Beginner's Guide to Big O Notation

Beginner's Guide to Big O Notation

14
Comments 1
5 min read
Implementare Least Frequently Used Cache in .NET cu teste unitare si teste de performanta

Implementare Least Frequently Used Cache in .NET cu teste unitare si teste de performanta

8
Comments
3 min read
Structuri de date si algoritmi fundamentali in C#

Structuri de date si algoritmi fundamentali in C#

5
Comments
7 min read
Algorithm 101: 8 Ways to Capitalize a Sentence

Algorithm 101: 8 Ways to Capitalize a Sentence

9
Comments
2 min read
Algorithm 101: 6 Ways to Find the Most Recurring Character in a String

Algorithm 101: 6 Ways to Find the Most Recurring Character in a String

7
Comments
2 min read
Levenshtein Distance (Part 3: Optimize Everything!)

Levenshtein Distance (Part 3: Optimize Everything!)

6
Comments
14 min read
Levenshtein Distance with SIMD (Bonus Part)

Levenshtein Distance with SIMD (Bonus Part)

6
Comments
8 min read
What is O(log n)? Learn Big O Logarithmic Time Complexity

What is O(log n)? Learn Big O Logarithmic Time Complexity

453
Comments 11
7 min read
Algorithm 101: 13 Ways to Count Vowels in a String

Algorithm 101: 13 Ways to Count Vowels in a String

6
Comments 4
3 min read
Algorithm 101: 7 Ways to Reverse a String

Algorithm 101: 7 Ways to Reverse a String

11
Comments 3
2 min read
What is O(n*log n)? Learn Big O Log-Linear Time Complexity

What is O(n*log n)? Learn Big O Log-Linear Time Complexity

133
Comments 2
5 min read
Best Problem-Solving Approaches

Best Problem-Solving Approaches

11
Comments 1
3 min read
Analyzing the performance of Javascript Methods

Analyzing the performance of Javascript Methods

15
Comments
3 min read
Why data structures and algorithms are important for frontend?

Why data structures and algorithms are important for frontend?

76
Comments
2 min read
Brief Intro to Big O

Brief Intro to Big O

28
Comments
4 min read
An Introduction to Big O Notation

An Introduction to Big O Notation

16
Comments 1
4 min read
Finding Articulation Points & Bridges in Undirected Graphs

Finding Articulation Points & Bridges in Undirected Graphs

15
Comments
3 min read
Easy as a pie Big O notation. Part 1: Time.

Easy as a pie Big O notation. Part 1: Time.

41
Comments
2 min read
Easy as a pie Big O notation. Part 2: Space.

Easy as a pie Big O notation. Part 2: Space.

10
Comments
2 min read
Solving the Ransom Note Algorithm in Javascript

Solving the Ransom Note Algorithm in Javascript

6
Comments
12 min read
Deserializable serialization of Anything, other than YAML. Also, how-to-hash.

Deserializable serialization of Anything, other than YAML. Also, how-to-hash.

8
Comments
5 min read
Prime Numbers: Fast and Slow - part 1

Prime Numbers: Fast and Slow - part 1

9
Comments
3 min read
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)

34
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

37
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

17
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
loading...