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.
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
Protecting Algorithms in Dart: A Multi-Layered Approach

Protecting Algorithms in Dart: A Multi-Layered Approach

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

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
670. Maximum Swap

670. Maximum Swap

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

Learn Big O Notation once and for all

109
Comments 10
8 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

6
Comments 3
3 min read
2601. Prime Subtraction Operation

2601. Prime Subtraction Operation

4
Comments
3 min read
1963. Minimum Number of Swaps to Make the String Balanced

1963. Minimum Number of Swaps to Make the String Balanced

Comments
3 min read
1963. Minimum Number of Swaps to Make the String Balanced

1963. Minimum Number of Swaps to Make the String Balanced

Comments
3 min read
PoSyg: Revolutionizing Blockchain Consensus for Scalability and Security

PoSyg: Revolutionizing Blockchain Consensus for Scalability and Security

1
Comments
4 min read
2696. Minimum String Length After Removing Substrings

2696. Minimum String Length After Removing Substrings

Comments
3 min read
Two pointers algorithm explained

Two pointers algorithm explained

Comments
2 min read
Understanding Genetic Algorithms: Applications, Benefits, and Challenges in Soft Computing

Understanding Genetic Algorithms: Applications, Benefits, and Challenges in Soft Computing

2
Comments
7 min read
1 Year of Consistent LeetCoding

1 Year of Consistent LeetCoding

553
Comments 24
2 min read
loading...