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.
Navigating the Directed Maze: Finding the Minimum Spanning Tree

Navigating the Directed Maze: Finding the Minimum Spanning Tree

Comments
3 min read
2054. Two Best Non-Overlapping Events

2054. Two Best Non-Overlapping Events

6
Comments
3 min read
Kadane's Algorithm - For Max SubArray Sum

Kadane's Algorithm - For Max SubArray Sum

4
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
How to count the number of black and white squares on a chessboard?

How to count the number of black and white squares on a chessboard?

15
Comments 1
4 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
DPLL: All-Time Hit SAT-Solver

DPLL: All-Time Hit SAT-Solver

12
Comments
5 min read
Sorting Algorithms: Comparison and Implementation — Java

Sorting Algorithms: Comparison and Implementation — Java

4
Comments
6 min read
Single Quotes and Double Quotes : String Interpolation and Performance

Single Quotes and Double Quotes : String Interpolation and Performance

1
Comments
2 min read
1-D Prefix Sum

1-D Prefix Sum

Comments
2 min read
Ceres Search

Ceres Search

Comments 1
4 min read
Demystifying Big O Notation.

Demystifying Big O Notation.

Comments
4 min read
Must Know Algorithms

Must Know Algorithms

138
Comments 18
2 min read
2337. Move Pieces to Obtain a String

2337. Move Pieces to Obtain a String

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

Free Algorithms Learning Resources: A Comprehensive Guide for Aspiring Developers

3
Comments
3 min read
Thread Concurrency In Java

Thread Concurrency In Java

Comments
2 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
2109. Adding Spaces to a String

2109. Adding Spaces to a String

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

2070. Most Beautiful Item for Each Query

Comments
4 min read
TIL: How to Trim Trailing Zeros【CodeWars】

TIL: How to Trim Trailing Zeros【CodeWars】

4
Comments
1 min read
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence

1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence

Comments
3 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
1346. Check If N and Its Double Exist

1346. Check If N and Its Double Exist

Comments
3 min read
Advent of Code 2024

Advent of Code 2024

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

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

Comments
2 min read
2577. Minimum Time to Visit a Cell In a Grid

2577. Minimum Time to Visit a Cell In a Grid

Comments
4 min read
Big O notation

Big O notation

1
Comments
1 min read
Shanks Tonelli algorithm

Shanks Tonelli algorithm

8
Comments 2
2 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
Demystifying Algorithms: Iterative Traversal and Tail Insertion Patterns

Demystifying Algorithms: Iterative Traversal and Tail Insertion Patterns

1
Comments
3 min read
2641. Cousins in Binary Tree II

2641. Cousins in Binary Tree II

Comments
5 min read
Understanding Polish Notation

Understanding Polish Notation

Comments
7 min read
Problèmes Complexes et Résolution : L’IA Face à ses Casse-Têtes 🧩

Problèmes Complexes et Résolution : L’IA Face à ses Casse-Têtes 🧩

1
Comments
3 min read
Applications Pratiques de l'IA : Quand les Algorithmes Sortent du Laboratoire 🌍🤖

Applications Pratiques de l'IA : Quand les Algorithmes Sortent du Laboratoire 🌍🤖

1
Comments 1
4 min read
Les Méthodes de Recherche en IA : Quand les Algorithmes Se Prennent pour Sherlock Holmes 🕵️‍♂️

Les Méthodes de Recherche en IA : Quand les Algorithmes Se Prennent pour Sherlock Holmes 🕵️‍♂️

1
Comments
3 min read
Les Agents Intelligents en IA : Quand Siri et Alexa Font Leur Show 🤖

Les Agents Intelligents en IA : Quand Siri et Alexa Font Leur Show 🤖

1
Comments
3 min read
773. Sliding Puzzle

773. Sliding Puzzle

Comments
4 min read
3163. String Compression III

3163. String Compression III

Comments
3 min read
Demystifying Algorithms: Linear Search

Demystifying Algorithms: Linear Search

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

Learn Big O Notation once and for all

179
Comments 13
9 min read
1975. Maximum Matrix Sum

1975. Maximum Matrix Sum

Comments
3 min read
Tracking Furthest Enemy in a Tower Defence Game using Max Heap

Tracking Furthest Enemy in a Tower Defence Game using Max Heap

Comments
7 min read
1106. Parsing A Boolean Expression

1106. Parsing A Boolean Expression

Comments
4 min read
Why is Hamiltonian graph?

Why is Hamiltonian graph?

Comments
2 min read
Scaling AI Computing with Ray: Large-Scale Implementation and Optimization

Scaling AI Computing with Ray: Large-Scale Implementation and Optimization

1
Comments
7 min read
1861. Rotating the Box

1861. Rotating the Box

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

1545. Find Kth Bit in Nth Binary String

Comments
4 min read
Math + Python = Love

Math + Python = Love

1
Comments
1 min read
Secure transfer

Secure transfer

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

Hanoi Tower with procs

2
Comments
2 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

2
Comments
2 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
loading...