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.
GitHub Repositories Every Software Engineer Should Know

GitHub Repositories Every Software Engineer Should Know

1927
Comments 38
3 min read
The ultimate guide for data structures & algorithm interviews 🔥

The ultimate guide for data structures & algorithm interviews 🔥

1572
Comments 19
47 min read
Comprehensive Big O Notation Guide in Plain English, using Javascript

Comprehensive Big O Notation Guide in Plain English, using Javascript

1291
Comments 34
14 min read
Algorithms in JavaScript with visual examples.

Algorithms in JavaScript with visual examples.

933
Comments 36
12 min read
How to Solve Any Algorithm

How to Solve Any Algorithm

858
Comments 24
5 min read
1 Year of Consistent LeetCoding

1 Year of Consistent LeetCoding

559
Comments 24
2 min read
Big-O Cheat Sheet

Big-O Cheat Sheet

469
Comments 17
1 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
Top Data Structures and Algorithms every developer must know

Top Data Structures and Algorithms every developer must know

411
Comments 4
18 min read
What is Big O Notation?

What is Big O Notation?

389
Comments 24
5 min read
20 Essential Coding Patterns to Ace Your Next Coding Interview

20 Essential Coding Patterns to Ace Your Next Coding Interview

370
Comments 3
21 min read
Improve Your Algorithms with this Simple Equation

Improve Your Algorithms with this Simple Equation

357
Comments 26
5 min read
Fundamental Data Structures and Algorithms in C#

Fundamental Data Structures and Algorithms in C#

355
Comments 14
15 min read
Big O notation basics made dead simple

Big O notation basics made dead simple

307
Comments 14
12 min read
Big O Notation

Big O Notation

259
Comments 19
6 min read
Big O Notation for beginners!!

Big O Notation for beginners!!

254
Comments 19
5 min read
Complete Roadmap to Learn Data Structure and Algorithms 🐱‍🏍👨‍💻👩‍💻

Complete Roadmap to Learn Data Structure and Algorithms 🐱‍🏍👨‍💻👩‍💻

238
Comments 26
7 min read
Data-structure & Algorithm

Data-structure & Algorithm

231
Comments 7
2 min read
I made a working Gameboy CSS art: try it out 🕹

I made a working Gameboy CSS art: try it out 🕹

225
Comments 11
5 min read
Memoization in Javascript

Memoization in Javascript

219
Comments 9
4 min read
Algorithm Problems - Baby Steps in Providing Solutions Using JavaScript

Algorithm Problems - Baby Steps in Providing Solutions Using JavaScript

191
Comments 6
6 min read
How to reduce the time complexity of nested loops

How to reduce the time complexity of nested loops

183
Comments 5
4 min read
Big O, code efficiency analysis

Big O, code efficiency analysis

162
Comments 8
12 min read
5 Best Data Structure and Algorithms courses for Python Developers

5 Best Data Structure and Algorithms courses for Python Developers

150
Comments
11 min read
5 Years of Coding Interview Lessons — in 2 Minutes

5 Years of Coding Interview Lessons — in 2 Minutes

144
Comments 13
2 min read
Ultimate guide to sorting in Javascript and Typescript

Ultimate guide to sorting in Javascript and Typescript

140
Comments 4
9 min read
How to Compare Arrays in JavaScript Efficiently

How to Compare Arrays in JavaScript Efficiently

139
Comments 9
5 min read
Practicing Recursion with 7 Algorithm Challenges

Practicing Recursion with 7 Algorithm Challenges

136
Comments 1
6 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
Learn Big O Notation once and for all

Learn Big O Notation once and for all

132
Comments 10
8 min read
How I Prepared for the Google Internship Interview.

How I Prepared for the Google Internship Interview.

124
Comments 3
7 min read
Sorting Algorithms Visualizer

Sorting Algorithms Visualizer

124
Comments 4
1 min read
15 JavaScript Tips: best practices to simplify your code

15 JavaScript Tips: best practices to simplify your code

123
Comments 2
10 min read
Data Structures and Algorithms: Introduction

Data Structures and Algorithms: Introduction

123
Comments 1
8 min read
Learn JavaScript by building a UI framework: Part 6 - Intro to Virtual DOM Algorithms

Learn JavaScript by building a UI framework: Part 6 - Intro to Virtual DOM Algorithms

121
Comments 2
5 min read
Creating the effect of traveling through space

Creating the effect of traveling through space

121
Comments 11
7 min read
How to Design an Algorithm

How to Design an Algorithm

119
Comments 2
4 min read
Grokking LeetCode: A Smarter Way to Prepare for Coding Interviews

Grokking LeetCode: A Smarter Way to Prepare for Coding Interviews

118
Comments
10 min read
The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

118
Comments 10
5 min read
Algorithm Practice: Two Sum

Algorithm Practice: Two Sum

117
Comments 11
6 min read
How I calculate capacity for Systems Design

How I calculate capacity for Systems Design

115
Comments 3
4 min read
Common Sorting Algorithms

Common Sorting Algorithms

115
Comments 2
8 min read
9 Neat JavaScript Snippets For Algorithms And More

9 Neat JavaScript Snippets For Algorithms And More

113
Comments 9
5 min read
Top 5 Machine Learning Algorithms You Need to Know

Top 5 Machine Learning Algorithms You Need to Know

110
Comments 5
7 min read
And then the interviewer asks, "Can you do this with less code?"

And then the interviewer asks, "Can you do this with less code?"

107
Comments 25
3 min read
Big-O Notation Cheat Sheet: quick answers to Big-O questions

Big-O Notation Cheat Sheet: quick answers to Big-O questions

104
Comments 2
4 min read
Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List

Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List

104
Comments 7
4 min read
Solution: Next Permutation

Solution: Next Permutation

102
Comments
3 min read
Data Structures 101: Introduction to Data Structures and Algorithms.

Data Structures 101: Introduction to Data Structures and Algorithms.

101
Comments 18
8 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
Free Computer Science Resources with Interview Prep and much more...

Free Computer Science Resources with Interview Prep and much more...

100
Comments
9 min read
How SHA-2 Works Step-By-Step (SHA-256)

How SHA-2 Works Step-By-Step (SHA-256)

99
Comments 1
9 min read
Solution: Roman to Integer

Solution: Roman to Integer

97
Comments 25
4 min read
Binary Search

Binary Search

93
Comments 12
4 min read
Improving your JavaScript with Enums

Improving your JavaScript with Enums

92
Comments 15
2 min read
JS: Sort an Array of Objects on multiple columns/keys

JS: Sort an Array of Objects on multiple columns/keys

92
Comments 5
3 min read
Sliding Window Technique🔥

Sliding Window Technique🔥

91
Comments 3
4 min read
Big O Notations CheatSheet with Explanation

Big O Notations CheatSheet with Explanation

91
Comments 2
9 min read
An easy Approach to Algorithms (Part 1)

An easy Approach to Algorithms (Part 1)

90
Comments 2
7 min read
Tech interview prep resources for software engineers

Tech interview prep resources for software engineers

89
Comments 2
13 min read
loading...