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.
2471. Minimum Number of Operations to Sort a Binary Tree by Level

2471. Minimum Number of Operations to Sort a Binary Tree by Level

Comments
5 min read
LeetCode Meditations: Reverse Bits

LeetCode Meditations: Reverse Bits

Comments
3 min read
Why Are AI Tools Getting Free?

Why Are AI Tools Getting Free?

1
Comments
11 min read
🐍🎉 Fun and Comprehensive Guide to Installing and Setting Up Anaconda, AIMA Python, and Jupyter Notebook! 🎓📒

🐍🎉 Fun and Comprehensive Guide to Installing and Setting Up Anaconda, AIMA Python, and Jupyter Notebook! 🎓📒

Comments
3 min read
2940. Find Building Where Alice and Bob Can Meet

2940. Find Building Where Alice and Bob Can Meet

Comments
6 min read
LeetCode Meditations: Counting Bits

LeetCode Meditations: Counting Bits

Comments
2 min read
Enhancing LRU Cache with Configurable Data Persistence

Enhancing LRU Cache with Configurable Data Persistence

Comments
4 min read
DSA Using C++

DSA Using C++

Comments
1 min read
2872. Maximum Number of K-Divisible Components

2872. Maximum Number of K-Divisible Components

Comments
6 min read
Precise Allocations with Big.js: Handling Rounding and Leftover Redistribution

Precise Allocations with Big.js: Handling Rounding and Leftover Redistribution

Comments
3 min read
LeetCode Meditations: Number of 1 Bits

LeetCode Meditations: Number of 1 Bits

Comments
2 min read
[Algorithm] Big O

[Algorithm] Big O

Comments
1 min read
2415. Reverse Odd Levels of Binary Tree

2415. Reverse Odd Levels of Binary Tree

Comments
5 min read
769. Max Chunks To Make Sorted

769. Max Chunks To Make Sorted

Comments
3 min read
1475. Final Prices With a Special Discount in a Shop

1475. Final Prices With a Special Discount in a Shop

Comments
4 min read
Building an Effective Machine Learning Pipeline for Fraud Prevention

Building an Effective Machine Learning Pipeline for Fraud Prevention

Comments
4 min read
Sorting Algorithms || Python || Data Structures and Algorithms

Sorting Algorithms || Python || Data Structures and Algorithms

Comments
12 min read
3264. Final Array State After K Multiplication Operations I

3264. Final Array State After K Multiplication Operations I

Comments
3 min read
Algorithmic Horizons: Mastering Computational Problem-Solving

Algorithmic Horizons: Mastering Computational Problem-Solving

Comments
3 min read
LeetCode Meditations — Chapter 14: Bit Manipulation

LeetCode Meditations — Chapter 14: Bit Manipulation

1
Comments
6 min read
Big O Notations

Big O Notations

Comments
4 min read
Mastering DSA: 5 Beginner-Friendly Algorithms with Examples

Mastering DSA: 5 Beginner-Friendly Algorithms with Examples

Comments
3 min read
1792. Maximum Average Pass Ratio

1792. Maximum Average Pass Ratio

Comments
4 min read
2762. Continuous Subarrays

2762. Continuous Subarrays

Comments
3 min read
Understanding the Bag ADT in Java: A Flexible Data Structure

Understanding the Bag ADT in Java: A Flexible Data Structure

Comments
7 min read
Merge Sort: Divide-and-Conquer for Large Datasets

Merge Sort: Divide-and-Conquer for Large Datasets

Comments
10 min read
Hare and Tortoise - To Find Start of Loop in Linked List

Hare and Tortoise - To Find Start of Loop in Linked List

Comments
3 min read
2558. Take Gifts From the Richest Pile

2558. Take Gifts From the Richest Pile

Comments
4 min read
Binary Search || Python || Data Structures and Algorithms

Binary Search || Python || Data Structures and Algorithms

Comments
4 min read
Guard Gallivant

Guard Gallivant

Comments
3 min read
2779. Maximum Beauty of an Array After Applying Operation

2779. Maximum Beauty of an Array After Applying Operation

Comments
3 min read
Algorithms Unleashed: Free Learning Resources for Aspiring Programmers

Algorithms Unleashed: Free Learning Resources for Aspiring Programmers

Comments
3 min read
What is a Turing Machine, exactly?

What is a Turing Machine, exactly?

Comments
2 min read
2981. Find Longest Special Substring That Occurs Thrice I

2981. Find Longest Special Substring That Occurs Thrice I

1
Comments
3 min read
Why Are Skip Lists Less Commonly Used Than BSTs?

Why Are Skip Lists Less Commonly Used Than BSTs?

Comments
4 min read
LeetCode Meditations: Non-overlapping Intervals

LeetCode Meditations: Non-overlapping Intervals

Comments
3 min read
Two Sum problem in Javascript

Two Sum problem in Javascript

Comments
3 min read
LeetCode Meditations: Merge Intervals

LeetCode Meditations: Merge Intervals

Comments
2 min read
Stack and Queue || Python || Data Structures and Algorithms

Stack and Queue || Python || Data Structures and Algorithms

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

Comments
4 min read
1760. Minimum Limit of Balls in a Bag

1760. Minimum Limit of Balls in a Bag

Comments
4 min read
Minimum No. of arrows to burst balloons

Minimum No. of arrows to burst balloons

Comments
1 min read
Non overlapping intervals

Non overlapping intervals

Comments
1 min read
PerspectiveLearning: A Novel Approach to Multi-Algorithm Machine Learning

PerspectiveLearning: A Novel Approach to Multi-Algorithm Machine Learning

Comments
2 min read
2554. Maximum Number of Integers to Choose From a Range I

2554. Maximum Number of Integers to Choose From a Range I

Comments
5 min read
New AI idea

New AI idea

Comments
1 min read
TIL: LIFO Solution and Regular Exprresion Techniques【CodeWars】

TIL: LIFO Solution and Regular Exprresion Techniques【CodeWars】

3
Comments
2 min read
Bubble Search... Swap (x, y);

Bubble Search... Swap (x, y);

Comments
1 min read
2825. Make String a Subsequence Using Cyclic Increments

2825. Make String a Subsequence Using Cyclic Increments

Comments
3 min read
225. Implement Stack using Queues

225. Implement Stack using Queues

Comments
1 min read
225. Implement Stack using Queues

225. Implement Stack using Queues

Comments
1 min read
Mull It Over

Mull It Over

Comments
3 min read
Demystifying Algorithms: The Hourglass Sum Problem

Demystifying Algorithms: The Hourglass Sum Problem

Comments
3 min read
Demystifying Algorithms: Binary Representation

Demystifying Algorithms: Binary Representation

Comments
3 min read
2182. Construct String With Repeat Limit

2182. Construct String With Repeat Limit

1
Comments
4 min read
Bridge Repair

Bridge Repair

1
Comments
6 min read
LeetCode Meditations: Insert Interval

LeetCode Meditations: Insert Interval

Comments
3 min read
LeetCode Meditations — Chapter 13: Intervals

LeetCode Meditations — Chapter 13: Intervals

Comments
1 min read
From Data to Decisions: Understanding Machine Learning Algorithms💻

From Data to Decisions: Understanding Machine Learning Algorithms💻

Comments
4 min read
Asymptotic Analysis Exercises — Java

Asymptotic Analysis Exercises — Java

Comments
14 min read
loading...