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.
Write a test function while learning javascript

Write a test function while learning javascript

1
Comments
2 min read
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance

1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance

Comments
3 min read
Rich Text Trimming Algorithm

Rich Text Trimming Algorithm

Comments
5 min read
Game Theory in Action: Pluribus and CFR in Texas Hold'em (2) CFR Counterfactual Regret Minimization Algorithm

Game Theory in Action: Pluribus and CFR in Texas Hold'em (2) CFR Counterfactual Regret Minimization Algorithm

Comments
4 min read
day 8-9|String|leetcode 344, 541, kama 54,151,kama 55,28, 459

day 8-9|String|leetcode 344, 541, kama 54,151,kama 55,28, 459

Comments
5 min read
Demystifying Big O Notation: A Guide For Software Engineers

Demystifying Big O Notation: A Guide For Software Engineers

1
Comments
2 min read
912. Sort an Array

912. Sort an Array

Comments
187 min read
2392. Build a Matrix With Conditions

2392. Build a Matrix With Conditions

Comments
4 min read
2418. Sort the People

2418. Sort the People

Comments
2 min read
Bridging Theory and Practice: The Effect of Hardware on Algorithm Efficiency

Bridging Theory and Practice: The Effect of Hardware on Algorithm Efficiency

Comments
3 min read
Type Only HeapSort Implementation

Type Only HeapSort Implementation

Comments
6 min read
Implementing Dynamic Arrays

Implementing Dynamic Arrays

Comments
3 min read
1380. Lucky Numbers in a Matrix

1380. Lucky Numbers in a Matrix

Comments
3 min read
2191. Sort the Jumbled Numbers

2191. Sort the Jumbled Numbers

Comments
3 min read
1636. Sort Array by Increasing Frequency

1636. Sort Array by Increasing Frequency

Comments
2 min read
Complexity Uncomplicated: Your Guide to Big O and Algorithm Analysis

Complexity Uncomplicated: Your Guide to Big O and Algorithm Analysis

Comments
5 min read
Задача с собеседования в Microsoft: Наибольшая подстрока без повторяющихся символов.

Задача с собеседования в Microsoft: Наибольшая подстрока без повторяющихся символов.

2
Comments 1
2 min read
Talk with You Series #2

Talk with You Series #2

Comments
6 min read
Data Structure #1 Stack

Data Structure #1 Stack

2
Comments
2 min read
1605. Find Valid Matrix Given Row and Column Sums

1605. Find Valid Matrix Given Row and Column Sums

1
Comments
3 min read
1530. Number of Good Leaf Nodes Pairs

1530. Number of Good Leaf Nodes Pairs

Comments
3 min read
The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #5)

The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #5)

5
Comments
10 min read
LeetCode Day37 Dynamic Programming part 11

LeetCode Day37 Dynamic Programming part 11

Comments
3 min read
LeetCode Day 36 Dynamic Programming Part 10

LeetCode Day 36 Dynamic Programming Part 10

Comments
3 min read
Algorithm -- Array

Algorithm -- Array

Comments
5 min read
Search Algorithms

Search Algorithms

Comments
2 min read
1110. Delete Nodes And Return Forest

1110. Delete Nodes And Return Forest

Comments
2 min read
2096. Step-By-Step Directions From a Binary Tree Node to Another

2096. Step-By-Step Directions From a Binary Tree Node to Another

Comments
3 min read
LeetCode Meditations: Palindromic Substrings

LeetCode Meditations: Palindromic Substrings

1
Comments
4 min read
LeetCode Day34 Dynamic Programming part8

LeetCode Day34 Dynamic Programming part8

Comments
5 min read
Unleash Your Algorithmic Prowess: Explore the Best Free Programming Resources 🔍

Unleash Your Algorithmic Prowess: Explore the Best Free Programming Resources 🔍

1
Comments
4 min read
2196. Create Binary Tree From Descriptions

2196. Create Binary Tree From Descriptions

1
Comments
3 min read
726. Number of Atoms

726. Number of Atoms

Comments
3 min read
Partition with given difference

Partition with given difference

Comments
4 min read
2751. Robot Collisions

2751. Robot Collisions

Comments
4 min read
LeetCode Day32 Dynamic Programming Part 5

LeetCode Day32 Dynamic Programming Part 5

Comments
2 min read
Reinforcement Learning in AI: Algorithms and Applications

Reinforcement Learning in AI: Algorithms and Applications

1
Comments
4 min read
day 6-7: hash table | leetcode 242, 383, 349,202, 1,454, 15, 18

day 6-7: hash table | leetcode 242, 383, 349,202, 1,454, 15, 18

Comments
7 min read
Binary Search Tree from Scratch in Java

Binary Search Tree from Scratch in Java

Comments
2 min read
Understanding Black Box Testing: An In-Depth Exploration

Understanding Black Box Testing: An In-Depth Exploration

1
Comments
5 min read
Cybersecurity: The Importance of The Human Element

Cybersecurity: The Importance of The Human Element

Comments
12 min read
LeetCode Day30 Dynamic Programming Part 3

LeetCode Day30 Dynamic Programming Part 3

1
Comments
4 min read
Por quĂŞ eu estou aprendendo e acho que vocĂŞs tambĂŠm deveriam aprender scala em 2024

Por quĂŞ eu estou aprendendo e acho que vocĂŞs tambĂŠm deveriam aprender scala em 2024

Comments
2 min read
LeetCode Day29 Dynamic Programming Part 2

LeetCode Day29 Dynamic Programming Part 2

1
Comments
3 min read
1717. Maximum Score From Removing Substrings

1717. Maximum Score From Removing Substrings

Comments
3 min read
Elevate Your Algorithmic Mastery with the 'Algorithm Practice Challenges' Course

Elevate Your Algorithmic Mastery with the 'Algorithm Practice Challenges' Course

Comments
3 min read
Min Stack | LeetCode | Java

Min Stack | LeetCode | Java

3
Comments 2
1 min read
1190. Reverse Substrings Between Each Pair of Parentheses

1190. Reverse Substrings Between Each Pair of Parentheses

Comments
2 min read
LeetCode Day27 Greedy Algorithms Part 5

LeetCode Day27 Greedy Algorithms Part 5

Comments
2 min read
Recursion Made Easy: A Beginner's Guide

Recursion Made Easy: A Beginner's Guide

5
Comments
6 min read
HackerRank Beautiful 3 Set Problem Solution

HackerRank Beautiful 3 Set Problem Solution

Comments
3 min read
Mastering Binary Search in JavaScript: A Comprehensive Guide for Beginners

Mastering Binary Search in JavaScript: A Comprehensive Guide for Beginners

1
Comments
6 min read
LeetCode Day 35 Dynamic Programming Part 9

LeetCode Day 35 Dynamic Programming Part 9

5
Comments
4 min read
LeetCode Day24 Greedy Algorithms Part 2

LeetCode Day24 Greedy Algorithms Part 2

Comments
5 min read
Backtracking, Design and Analysis of Algorithms

Backtracking, Design and Analysis of Algorithms

Comments
7 min read
[LeetCode] Visualization of Reverse Linked List

[LeetCode] Visualization of Reverse Linked List

Comments
1 min read
Subsets and Backtracking, Coding Interview Pattern

Subsets and Backtracking, Coding Interview Pattern

1
Comments
3 min read
Recursion, Design and Analysis of Algorithms

Recursion, Design and Analysis of Algorithms

Comments
9 min read
LeetCode Day22 BackTracking Part 4

LeetCode Day22 BackTracking Part 4

1
Comments
3 min read
LeetCode Day26 Greedy Algorithms Part 4

LeetCode Day26 Greedy Algorithms Part 4

Comments
5 min read
loading...