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.
Hanoi Tower with procs

Hanoi Tower with procs

Comments
2 min read
10 Common Machine Learning Algorithms You Should Understand in 2024-25

10 Common Machine Learning Algorithms You Should Understand in 2024-25

Comments
5 min read
2257. Count Unguarded Cells in the Grid

2257. Count Unguarded Cells in the Grid

Comments
4 min read
Demystifying Algorithms: Modular Indexing

Demystifying Algorithms: Modular Indexing

Comments
4 min read
Why Read/Write in Hash Maps Has O(1) Time Complexity⁉️🚀

Why Read/Write in Hash Maps Has O(1) Time Complexity⁉️🚀

Comments
3 min read
Demystifying Algorithms: Sliding Window

Demystifying Algorithms: Sliding Window

Comments
4 min read
Floyd's Tortoise and Hare Algorithm

Floyd's Tortoise and Hare Algorithm

Comments
2 min read
2516. Take K of Each Character From Left and Right

2516. Take K of Each Character From Left and Right

Comments
4 min read
2461. Maximum Sum of Distinct Subarrays With Length K

2461. Maximum Sum of Distinct Subarrays With Length K

Comments
4 min read
1652. Defuse the Bomb

1652. Defuse the Bomb

Comments
3 min read
Insertion Sort

Insertion Sort

Comments
2 min read
Selection Sorts

Selection Sorts

Comments
2 min read
862. Shortest Subarray with Sum at Least K

862. Shortest Subarray with Sum at Least K

Comments
3 min read
Move Zeroes to the End of an Array: A Practical Guide

Move Zeroes to the End of an Array: A Practical Guide

5
Comments 1
3 min read
3254. Find the Power of K-Size Subarrays I

3254. Find the Power of K-Size Subarrays I

Comments
4 min read
Demystifying Algorithms: Two Pointers

Demystifying Algorithms: Two Pointers

Comments
4 min read
Demystifying Algorithms: Brute Force

Demystifying Algorithms: Brute Force

Comments
4 min read
1574. Shortest Subarray to be Removed to Make Array Sorted

1574. Shortest Subarray to be Removed to Make Array Sorted

Comments
3 min read
I Made My Own Standard Template Library

I Made My Own Standard Template Library

Comments
16 min read
2563. Count the Number of Fair Pairs

2563. Count the Number of Fair Pairs

Comments
3 min read
Comparative Benchmarking: ILP, A*, and Branch and Bound Algorithms in High-Throughput Scenarios

Comparative Benchmarking: ILP, A*, and Branch and Bound Algorithms in High-Throughput Scenarios

Comments
8 min read
Navigating the Directed Maze: Finding the Minimum Spanning Tree

Navigating the Directed Maze: Finding the Minimum Spanning Tree

Comments
3 min read
2914. Minimum Number of Changes to Make Binary String Beautiful

2914. Minimum Number of Changes to Make Binary String Beautiful

Comments
3 min read
Mastering Binary Search in JavaScript and Java: A Step-by-Step Guide

Mastering Binary Search in JavaScript and Java: A Step-by-Step Guide

Comments
5 min read
Conceptual Framework for Token Stream Analysis using Dual-level Exponential Rolling Average Centroids

Conceptual Framework for Token Stream Analysis using Dual-level Exponential Rolling Average Centroids

Comments
6 min read
1-D Prefix Sum

1-D Prefix Sum

Comments
2 min read
Free Algorithms Learning Resources: A Comprehensive Guide for Aspiring Developers

Free Algorithms Learning Resources: A Comprehensive Guide for Aspiring Developers

4
Comments
3 min read
Thread Concurrency In Java

Thread Concurrency In Java

Comments
2 min read
Mastering Algorithms: Essential Concepts Every Computer Engineering Student Should Know

Mastering Algorithms: Essential Concepts Every Computer Engineering Student Should Know

1
Comments
3 min read
Mastering Algorithms: Unlock the Power of Data Structures and Numerical Computing

Mastering Algorithms: Unlock the Power of Data Structures and Numerical Computing

Comments
3 min read
2070. Most Beautiful Item for Each Query

2070. Most Beautiful Item for Each Query

Comments
4 min read
How does Cognitive Science influence knowledge Representation in AI?

How does Cognitive Science influence knowledge Representation in AI?

2
Comments
4 min read
Algorithm for compressing numbers to Base64

Algorithm for compressing numbers to Base64

Comments
2 min read
Entendendo RecursĂŁo em Python: E aĂ­, vai encarar?

Entendendo RecursĂŁo em Python: E aĂ­, vai encarar?

Comments
2 min read
Big O notation

Big O notation

1
Comments
1 min read
The Secret to Fast Typing on the Game Boy: Here’s How I Did It!

The Secret to Fast Typing on the Game Boy: Here’s How I Did It!

Comments
6 min read
2641. Cousins in Binary Tree II

2641. Cousins in Binary Tree II

Comments
5 min read
Understanding Polish Notation

Understanding Polish Notation

1
Comments
7 min read
3163. String Compression III

3163. String Compression III

Comments
3 min read
1106. Parsing A Boolean Expression

1106. Parsing A Boolean Expression

Comments
4 min read
1545. Find Kth Bit in Nth Binary String

1545. Find Kth Bit in Nth Binary String

Comments
4 min read
3097. Shortest Subarray With OR at Least K II

3097. Shortest Subarray With OR at Least K II

1
Comments
4 min read
Learn Big O Notation once and for all

Learn Big O Notation once and for all

132
Comments 10
8 min read
670. Maximum Swap

670. Maximum Swap

Comments
2 min read
👑Kichik Shahzoda

👑Kichik Shahzoda

Comments
1 min read
Understanding Insertion Sort: A Question-Driven Approach

Understanding Insertion Sort: A Question-Driven Approach

Comments
4 min read
Leveraging MCTS Algorithm in Industrial Scenarios

Leveraging MCTS Algorithm in Industrial Scenarios

1
Comments
5 min read
1405. Longest Happy String

1405. Longest Happy String

Comments
3 min read
2938. Separate Black and White Balls

2938. Separate Black and White Balls

Comments
4 min read
How to Insert element into a BST (DSA) ?

How to Insert element into a BST (DSA) ?

1
Comments
2 min read
Implementando uma Tabela Hash em PHP para Armazenar Dados de Artilheiros do BrasileirĂŁo

Implementando uma Tabela Hash em PHP para Armazenar Dados de Artilheiros do BrasileirĂŁo

Comments
4 min read
2044. Count Number of Maximum Bitwise-OR Subsets

2044. Count Number of Maximum Bitwise-OR Subsets

Comments
3 min read
632. Smallest Range Covering Elements from K Lists

632. Smallest Range Covering Elements from K Lists

Comments
3 min read
The Ultimate Guide to Choosing the Right Cryptography Algorithm for Your Project

The Ultimate Guide to Choosing the Right Cryptography Algorithm for Your Project

Comments
4 min read
2406. Divide Intervals Into Minimum Number of Groups

2406. Divide Intervals Into Minimum Number of Groups

Comments
3 min read
962. Maximum Width Ramp

962. Maximum Width Ramp

Comments
3 min read
5 Free Algorithm Courses to Elevate Your Programming Skills

5 Free Algorithm Courses to Elevate Your Programming Skills

1
Comments
3 min read
921. Minimum Add to Make Parentheses Valid

921. Minimum Add to Make Parentheses Valid

Comments
2 min read
Using Binary To Solve the Poisoned Barrel Puzzle

Using Binary To Solve the Poisoned Barrel Puzzle

8
Comments 3
3 min read
2601. Prime Subtraction Operation

2601. Prime Subtraction Operation

4
Comments
3 min read
loading...