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.
Segment Tree-01

Segment Tree-01

Comments
1 min read
Searching Algorithm Using Javascript

Searching Algorithm Using Javascript

8
Comments
1 min read
1937. Maximum Number of Points with Cost

1937. Maximum Number of Points with Cost

Comments
4 min read
5 principais estruturas de dados

5 principais estruturas de dados

6
Comments
5 min read
624. Maximum Distance in Arrays

624. Maximum Distance in Arrays

Comments
2 min read
Um bom algoritmo e sua importancia para um código mais ágil

Um bom algoritmo e sua importancia para um código mais ágil

2
Comments
4 min read
860. Lemonade Change

860. Lemonade Change

Comments
3 min read
Disjoint Set Graph Learning

Disjoint Set Graph Learning

Comments
2 min read
LeetCode Day32 Dynamic Programming Part 5

LeetCode Day32 Dynamic Programming Part 5

Comments
2 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
719. Find K-th Smallest Pair Distance

719. Find K-th Smallest Pair Distance

Comments
3 min read
Queue Implementation Using Javascript (Linked List)

Queue Implementation Using Javascript (Linked List)

7
Comments 1
2 min read
Stack Implementation Using Javascript (Linked List)

Stack Implementation Using Javascript (Linked List)

6
Comments
2 min read
New DSA series in JavaScript !

New DSA series in JavaScript !

2
Comments
1 min read
Mastering Data Structures and Algorithms: A Comprehensive Guide to Getting Started

Mastering Data Structures and Algorithms: A Comprehensive Guide to Getting Started

2
Comments
4 min read
max subarray problem and kadane's algorithm

max subarray problem and kadane's algorithm

1
Comments
4 min read
40. Combination Sum II

40. Combination Sum II

Comments
2 min read
Cybersecurity: The Importance of The Human Element

Cybersecurity: The Importance of The Human Element

Comments
12 min read
Single Linked Lists & Double Linked Lists Using Javascript With All Operations:- Last Stop Solution

Single Linked Lists & Double Linked Lists Using Javascript With All Operations:- Last Stop Solution

6
Comments
4 min read
My Journey of Mastering Data Structures and Algorithms in 6 Months: Dos and Don'ts👩🏻‍💻

My Journey of Mastering Data Structures and Algorithms in 6 Months: Dos and Don'ts👩🏻‍💻

2
Comments
3 min read
1568. Minimum Number of Days to Disconnect Island

1568. Minimum Number of Days to Disconnect Island

Comments
3 min read
703. Kth Largest Element in a Stream

703. Kth Largest Element in a Stream

Comments
148 min read
LeetCode Day29 Dynamic Programming Part 2

LeetCode Day29 Dynamic Programming Part 2

1
Comments
3 min read
Graphs Data Structure using Javascript

Graphs Data Structure using Javascript

6
Comments
4 min read
Dissecting the two pointer technique

Dissecting the two pointer technique

2
Comments
4 min read
959. Regions Cut By Slashes

959. Regions Cut By Slashes

Comments
2 min read
Master in array

Master in array

6
Comments
3 min read
data structures analogies cheat sheet

data structures analogies cheat sheet

3
Comments 2
6 min read
840. Magic Squares In Grid

840. Magic Squares In Grid

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
885. Spiral Matrix III

885. Spiral Matrix III

1
Comments
3 min read
Simple Tree & Binary Search Tree Data Structure Using Javascript

Simple Tree & Binary Search Tree Data Structure Using Javascript

5
Comments
3 min read
Mastering Algorithms: It's Easier Than You Think!"

Mastering Algorithms: It's Easier Than You Think!"

2
Comments
3 min read
1. Two Sum-Arrays & Hashing

1. Two Sum-Arrays & Hashing

6
Comments 2
7 min read
Exploring Basic Data Structures and Their Applications in LeetCode Problems

Exploring Basic Data Structures and Their Applications in LeetCode Problems

Comments
11 min read
273. Integer to English Words

273. Integer to English Words

Comments
2 min read
Day10-11|Stack&Queue: leetcode 232, 225, 20, 1047,150,239, 347

Day10-11|Stack&Queue: leetcode 232, 225, 20, 1047,150,239, 347

Comments
5 min read
Approaching Brute Force Algorithm Using Javascript

Approaching Brute Force Algorithm Using Javascript

6
Comments
5 min read
3016. Minimum Number of Pushes to Type Word II

3016. Minimum Number of Pushes to Type Word II

Comments
4 min read
LeetCode Day24 Greedy Algorithms Part 2

LeetCode Day24 Greedy Algorithms Part 2

Comments
5 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
Exploring Binary Trees (in C++)

Exploring Binary Trees (in C++)

1
Comments
6 min read
2053. Kth Distinct String in an Array

2053. Kth Distinct String in an Array

Comments
3 min read
Problem Solving Patterns

Problem Solving Patterns

10
Comments 2
3 min read
1508. Range Sum of Sorted Subarray Sums

1508. Range Sum of Sorted Subarray Sums

Comments
3 min read
Highly Recommended: 'Quick Start with Algorithm' Course

Highly Recommended: 'Quick Start with Algorithm' Course

1
Comments
3 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
1460. Make Two Arrays Equal by Reversing Subarrays

1460. Make Two Arrays Equal by Reversing Subarrays

Comments
3 min read
Build an Advanced Dice Game with freeCodeCamp

Build an Advanced Dice Game with freeCodeCamp

2
Comments 2
1 min read
2134 Minimum Swaps to Group All 1's Together II

2134 Minimum Swaps to Group All 1's Together II

2
Comments
3 min read
Computational Geometry, Design and Analysis of Algorithms

Computational Geometry, Design and Analysis of Algorithms

5
Comments
5 min read
Strings, Design and Analysis of Algorithms

Strings, Design and Analysis of Algorithms

5
Comments
4 min read
Divide and Conquer, Design and Analysis of Algorithms

Divide and Conquer, Design and Analysis of Algorithms

Comments
7 min read
Building a simple word counting parser using pari.

Building a simple word counting parser using pari.

Comments
2 min read
How to sort correctly arrays in JavaScript?

How to sort correctly arrays in JavaScript?

6
Comments
1 min read
2678. Number of Senior Citizens

2678. Number of Senior Citizens

1
Comments
3 min read
Recursion vs Loop: a low-level analysis

Recursion vs Loop: a low-level analysis

Comments 2
4 min read
loading...