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.
Bitsets, Bit Manipulations and Bitmasks Problems

Bitsets, Bit Manipulations and Bitmasks Problems

6
Comments
11 min read
Best way to learn DSA with Codechef.

Best way to learn DSA with Codechef.

11
Comments
2 min read
Starting with sorting algorithms

Starting with sorting algorithms

7
Comments
2 min read
Solving The Move Zeroes Challenge in Python, three approaches

Solving The Move Zeroes Challenge in Python, three approaches

7
Comments 2
2 min read
Time and Space, but not relativity :-)

Time and Space, but not relativity :-)

9
Comments
4 min read
The big STL Algorithms tutorial: heap operations

The big STL Algorithms tutorial: heap operations

9
Comments 7
7 min read
Merge Sort in JavaScript | Explained Thoroughly

Merge Sort in JavaScript | Explained Thoroughly

4
Comments
6 min read
Arrays, hash tables, linked lists, queues, stacks, & trees (My repl.it playground while studying for FAANG)

Arrays, hash tables, linked lists, queues, stacks, & trees (My repl.it playground while studying for FAANG)

63
Comments 1
2 min read
Myth: DSA is Required Only To Crack Interviews #Busted | Netlist Generation Using DFS

Myth: DSA is Required Only To Crack Interviews #Busted | Netlist Generation Using DFS

42
Comments 7
4 min read
Why we need Data Structures and Algorithms 🤔

Why we need Data Structures and Algorithms 🤔

3
Comments
2 min read
Important Algorithm Concepts | Algorithm Stability, In-place Algorithms, and Comparison Algorithms

Important Algorithm Concepts | Algorithm Stability, In-place Algorithms, and Comparison Algorithms

19
Comments
3 min read
Binary Search - JavaScript | Plus Big O Performance Explained Simply

Binary Search - JavaScript | Plus Big O Performance Explained Simply

7
Comments
5 min read
JavaScript ES6 keyed collections

JavaScript ES6 keyed collections

10
Comments
4 min read
Leetcode: Next Permutation

Leetcode: Next Permutation

8
Comments
3 min read
OverThink: The Number of Zeros at the End of a Factorial.

OverThink: The Number of Zeros at the End of a Factorial.

9
Comments
11 min read
Read and Sort Data Generically - Generics in Java

Read and Sort Data Generically - Generics in Java

6
Comments
4 min read
Optimizing Conditional Bulk Insert in Node.js + PostgreSQL

Optimizing Conditional Bulk Insert in Node.js + PostgreSQL

14
Comments 2
8 min read
What is Backtracking?

What is Backtracking?

15
Comments 1
4 min read
Why we learn algorithms!?

Why we learn algorithms!?

4
Comments 3
3 min read
Valid Mountain Array — Solution and Approch in Java

Valid Mountain Array — Solution and Approch in Java

4
Comments
2 min read
380. Insert Delete GetRandom O(1)

380. Insert Delete GetRandom O(1)

2
Comments 3
4 min read
Implementing programmatic file transformations in PHP, Part 2

Implementing programmatic file transformations in PHP, Part 2

2
Comments
10 min read
Kadane's Algorithm (Maximum Sum Subarray Problem)

Kadane's Algorithm (Maximum Sum Subarray Problem)

19
Comments 5
4 min read
Data Structures & Algorithms Roadmap

Data Structures & Algorithms Roadmap

6
Comments 1
1 min read
Halting Problem, the undecidable problem for Turing machines...

Halting Problem, the undecidable problem for Turing machines...

4
Comments
3 min read
How to check if a Binary Tree is a BST

How to check if a Binary Tree is a BST

5
Comments
3 min read
Introduction to Data Structures and Algorithms With Python.

Introduction to Data Structures and Algorithms With Python.

69
Comments 3
5 min read
Array rotation, a simple approach using JS

Array rotation, a simple approach using JS

20
Comments
3 min read
LeetCode 300. Longest Increasing Subsequence (javascript solution)

LeetCode 300. Longest Increasing Subsequence (javascript solution)

5
Comments 1
1 min read
5 Steps to Solving Programming Problems

5 Steps to Solving Programming Problems

4
Comments
7 min read
Technically a Software Developer

Technically a Software Developer

2
Comments
3 min read
Algorithms and Scripting: Problems and Notes Part 2:

Algorithms and Scripting: Problems and Notes Part 2:

5
Comments
2 min read
Algorithm Scripting: Notes & Problems

Algorithm Scripting: Notes & Problems

4
Comments
3 min read
The 8 Must-Know Data Types in JavaScript : Ultimate Guide

The 8 Must-Know Data Types in JavaScript : Ultimate Guide

7
Comments
6 min read
LeetCode 11. Container With Most Water (javascript solution)

LeetCode 11. Container With Most Water (javascript solution)

5
Comments 1
1 min read
Why I love Linked Lists

Why I love Linked Lists

6
Comments
8 min read
A Story About Algorithms

A Story About Algorithms

5
Comments
4 min read
LeetCode 33. Search in Rotated Sorted Array (javscript solution)

LeetCode 33. Search in Rotated Sorted Array (javscript solution)

3
Comments 1
1 min read
Implementing programmatic file transformations in PHP

Implementing programmatic file transformations in PHP

2
Comments
24 min read
Four Rules for Big O

Four Rules for Big O

25
Comments
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
Merge Sort 07:49

Merge Sort

5
Comments
1 min read
Implementing Merge Sort in Rust

Implementing Merge Sort in Rust

12
Comments 2
2 min read
Arrays Questions: Reverse an array

Arrays Questions: Reverse an array

6
Comments
2 min read
Sieve of Eratosthenes, What is it?

Sieve of Eratosthenes, What is it?

14
Comments
3 min read
Time complexity is actually easy!!

Time complexity is actually easy!!

5
Comments
1 min read
Time complexity is actually easy!!

Time complexity is actually easy!!

4
Comments
1 min read
What is the sorting algorithm behind ORDER BY query in MySQL?

What is the sorting algorithm behind ORDER BY query in MySQL?

6
Comments
4 min read
Algorithm Approach: Retrieve Depth

Algorithm Approach: Retrieve Depth

4
Comments
3 min read
Complete Roadmap to Learn Data Structure and Algorithms 🐱‍🏍👨‍💻👩‍💻

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

238
Comments 26
7 min read
CXXGraph Library

CXXGraph Library

6
Comments 1
6 min read
L'algorithme de recherche binaire

L'algorithme de recherche binaire

13
Comments
7 min read
How Recursion Works: The Easy Way (No Fibonacci)

How Recursion Works: The Easy Way (No Fibonacci)

15
Comments
5 min read
LeetCode 121. Best Time to Buy and Sell Stock (javascript solution)

LeetCode 121. Best Time to Buy and Sell Stock (javascript solution)

7
Comments
1 min read
A look into Dynamic Programming - Matrix Chain Multiplication

A look into Dynamic Programming - Matrix Chain Multiplication

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

9 Neat JavaScript Snippets For Algorithms And More

113
Comments 9
5 min read
LinkedList Questions: [Optimal] Find Middle Element

LinkedList Questions: [Optimal] Find Middle Element

2
Comments
2 min read
How to reverse a Singly Linked List

How to reverse a Singly Linked List

2
Comments
2 min read
Let's build... a retro text art generator!

Let's build... a retro text art generator!

22
Comments
7 min read
Top Five Ways to Learn Data Structures

Top Five Ways to Learn Data Structures

49
Comments
3 min read
loading...