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.
[For Beginners] Understanding the KMP Algorithm by Comparing with the Brute-Force

[For Beginners] Understanding the KMP Algorithm by Comparing with the Brute-Force

Comments
3 min read
1930. Unique Length-3 Palindromic Subsequences

1930. Unique Length-3 Palindromic Subsequences

Comments
3 min read
Building a Production-Ready Trie Search System: A 5-Day Journey 🚀

Building a Production-Ready Trie Search System: A 5-Day Journey 🚀

Comments
14 min read
2270. Number of Ways to Split Array

2270. Number of Ways to Split Array

Comments
3 min read
Best Way to Learn Data Science: A Comprehensive Guide for Aspiring Experts

Best Way to Learn Data Science: A Comprehensive Guide for Aspiring Experts

Comments
3 min read
2559. Count Vowel Strings in Ranges

2559. Count Vowel Strings in Ranges

Comments
3 min read
Symmetric data encryption with Python

Symmetric data encryption with Python

Comments
2 min read
Disk Fragmenter

Disk Fragmenter

Comments
6 min read
Time and Space Complexity

Time and Space Complexity

1
Comments
1 min read
Big O Notation for Beginners: A Practical Guide

Big O Notation for Beginners: A Practical Guide

1
Comments
3 min read
1422. Maximum Score After Splitting a String

1422. Maximum Score After Splitting a String

Comments
3 min read
983. Minimum Cost For Tickets

983. Minimum Cost For Tickets

Comments
5 min read
Простая задача с собеседования в Google: Merge Strings Alternately

Простая задача с собеседования в Google: Merge Strings Alternately

2
Comments
2 min read
Difference Between Merge Sort and Quick Sort

Difference Between Merge Sort and Quick Sort

Comments
1 min read
2466. Count Ways To Build Good Strings

2466. Count Ways To Build Good Strings

Comments
3 min read
Yay! Reached 1035+ days Daily Coding Streak on Leetcode!

Yay! Reached 1035+ days Daily Coding Streak on Leetcode!

Comments
1 min read
The Levenshtein Algorithm: Making String Comparison Child's Play

The Levenshtein Algorithm: Making String Comparison Child's Play

Comments
3 min read
Resonant Collinearity

Resonant Collinearity

Comments
6 min read
1639. Number of Ways to Form a Target String Given a Dictionary

1639. Number of Ways to Form a Target String Given a Dictionary

Comments
5 min read
689. Maximum Sum of 3 Non-Overlapping Subarrays

689. Maximum Sum of 3 Non-Overlapping Subarrays

Comments
3 min read
LeetCode Meditations: Sum of Two Integers

LeetCode Meditations: Sum of Two Integers

Comments
3 min read
Heaps, Data Structures

Heaps, Data Structures

Comments
16 min read
1014. Best Sightseeing Pair

1014. Best Sightseeing Pair

Comments
2 min read
Sorted Data Structures in Python

Sorted Data Structures in Python

Comments
3 min read
494. Target Sum

494. Target Sum

Comments
3 min read
515. Find Largest Value in Each Tree Row

515. Find Largest Value in Each Tree Row

Comments
3 min read
You need to learn DSA , to earn.

You need to learn DSA , to earn.

2
Comments 2
1 min read
ทำความเข้าใจเกี่ยวกับ Big-O และตัวอย่างโค้ดในภาษา C++

ทำความเข้าใจเกี่ยวกับ Big-O และตัวอย่างโค้ดในภาษา C++

Comments
2 min read
Understand AVL Tree Rotations Visually

Understand AVL Tree Rotations Visually

Comments
2 min read
Hashing, DSA Complete Syllabus

Hashing, DSA Complete Syllabus

Comments
3 min read
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
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
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
Kanban Projekt / Algorithmus: Muster suchen

Kanban Projekt / Algorithmus: Muster suchen

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
3203. Find Minimum Diameter After Merging Two Trees

3203. Find Minimum Diameter After Merging Two Trees

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
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
Mastering Quick Sort: A Fundamental Algorithm in Computer Science

Mastering Quick Sort: A Fundamental Algorithm in Computer Science

Comments 1
3 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
loading...