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.
Tree Data Structure Questions for Data Structures and Algorithms

Tree Data Structure Questions for Data Structures and Algorithms

34
Comments 4
4 min read
1277. Count Square Submatrices with All Ones

1277. Count Square Submatrices with All Ones

Comments
3 min read
Elevator Scheduling Algorithms: FCFS, SSTF, SCAN, and LOOK

Elevator Scheduling Algorithms: FCFS, SSTF, SCAN, and LOOK

10
Comments
3 min read
Backtracking: Solving the N-Queens Problem and Python Implementation 21:29

Backtracking: Solving the N-Queens Problem and Python Implementation

1
Comments
1 min read
Introduction to Data Structures and Algorithms Roadmap

Introduction to Data Structures and Algorithms Roadmap

12
Comments 2
4 min read
Jump Game II: A Deep Dive into LeetCode's Classic Algorithm Problem

Jump Game II: A Deep Dive into LeetCode's Classic Algorithm Problem

27
Comments 1
4 min read
2458. Height of Binary Tree After Subtree Removal Queries

2458. Height of Binary Tree After Subtree Removal Queries

Comments
4 min read
Data Structures: Creating Custom Node Classes

Data Structures: Creating Custom Node Classes

31
Comments 1
4 min read
DSA: Graph Theory Questions for Interviews and Practice

DSA: Graph Theory Questions for Interviews and Practice

27
Comments 1
3 min read
Minimum Spanning Trees Breaking the Norm

Minimum Spanning Trees Breaking the Norm

1
Comments
2 min read
The Complete [2024] Guide to Data Structures and Algorithms

The Complete [2024] Guide to Data Structures and Algorithms

13
Comments
4 min read
The Hidden Algorithms Behind Your Social Media Feed 🤯

The Hidden Algorithms Behind Your Social Media Feed 🤯

87
Comments 21
5 min read
1233. Remove Sub-Folders from the Filesystem

1233. Remove Sub-Folders from the Filesystem

Comments
3 min read
Understanding Time Complexity in Python Functions

Understanding Time Complexity in Python Functions

7
Comments
3 min read
951. Flip Equivalent Binary Trees

951. Flip Equivalent Binary Trees

Comments
3 min read
Understanding Big O Notation: A Beginner's Guide to Time and Space Complexity

Understanding Big O Notation: A Beginner's Guide to Time and Space Complexity

13
Comments 1
8 min read
What I have learnt from solving 1600 Leetcode Problems 🤯|| DSA Guide

What I have learnt from solving 1600 Leetcode Problems 🤯|| DSA Guide

12
Comments 3
3 min read
DSA: Recursion - Expanded Questions

DSA: Recursion - Expanded Questions

35
Comments
3 min read
🚀 Solving LeetCode 852: Peak Index in a Mountain Array Using Binary Search

🚀 Solving LeetCode 852: Peak Index in a Mountain Array Using Binary Search

Comments
2 min read
DSA: Essential Queue Interview Questions and Challenges

DSA: Essential Queue Interview Questions and Challenges

31
Comments 2
3 min read
Time Complexity: A Comedy of Errors (and Algorithms)

Time Complexity: A Comedy of Errors (and Algorithms)

2
Comments
5 min read
Selection Sort Algorithm

Selection Sort Algorithm

Comments
2 min read
2583. Kth Largest Sum in a Binary Tree

2583. Kth Largest Sum in a Binary Tree

6
Comments
4 min read
1942. The Number of the Smallest Unoccupied Chair

1942. The Number of the Smallest Unoccupied Chair

Comments
279 min read
Building an Efficient Text Compression Algorithm Inspired by Silicon Valley’s Pied Piper

Building an Efficient Text Compression Algorithm Inspired by Silicon Valley’s Pied Piper

8
Comments
4 min read
Stack Interview Questions: From Basics to Advanced Problem-Solving

Stack Interview Questions: From Basics to Advanced Problem-Solving

30
Comments 2
2 min read
Introdução a algoritmos: Pesquisa binária

Introdução a algoritmos: Pesquisa binária

Comments
2 min read
Repeat the Character in a string based on its Alphabetical index

Repeat the Character in a string based on its Alphabetical index

5
Comments 1
1 min read
Change Your Mindset About Algorithms with These Simple Coding Problems

Change Your Mindset About Algorithms with These Simple Coding Problems

Comments
18 min read
Character overlap with strings in JavaScript

Character overlap with strings in JavaScript

5
Comments
1 min read
Introduction to Data Structures and Algorithms.

Introduction to Data Structures and Algorithms.

2
Comments 1
7 min read
1593. Split a String Into the Max Number of Unique Substrings

1593. Split a String Into the Max Number of Unique Substrings

2
Comments
3 min read
Language Feature Deep Dive: Python's Structural Pattern Matching

Language Feature Deep Dive: Python's Structural Pattern Matching

2
Comments 1
3 min read
Coding Challenges: Engage and Learn Through Problem Solving

Coding Challenges: Engage and Learn Through Problem Solving

Comments 1
2 min read
Best Patterns for Cracking Coding Interviews Using LeetCode

Best Patterns for Cracking Coding Interviews Using LeetCode

34
Comments
2 min read
Algoritmo de Dijkstra

Algoritmo de Dijkstra

1
Comments
4 min read
B-tree: The Secret Recipe Behind Efficient Data Handling 🍰

B-tree: The Secret Recipe Behind Efficient Data Handling 🍰

16
Comments
4 min read
Mastering Selection Sort Algorithm like a PRO

Mastering Selection Sort Algorithm like a PRO

4
Comments
5 min read
String Data Structures and Algorithms: Essential Interview Questions

String Data Structures and Algorithms: Essential Interview Questions

32
Comments
3 min read
Repeat the Character in a string based on its Alphabetical index

Repeat the Character in a string based on its Alphabetical index

6
Comments
1 min read
Comprehensive 𝗚𝘂𝗶𝗱𝗲 𝘁𝗼 𝗦𝘁𝗮𝗰𝗸 𝗗𝗮𝘁𝗮 𝗦𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲: 𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻, 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻𝘀, 𝗮𝗻𝗱 𝗣𝗿𝗼𝗯𝗹𝗲𝗺-𝗦𝗼𝗹𝘃𝗶𝗻𝗴

Comprehensive 𝗚𝘂𝗶𝗱𝗲 𝘁𝗼 𝗦𝘁𝗮𝗰𝗸 𝗗𝗮𝘁𝗮 𝗦𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲: 𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻, 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻𝘀, 𝗮𝗻𝗱 𝗣𝗿𝗼𝗯𝗹𝗲𝗺-𝗦𝗼𝗹𝘃𝗶𝗻𝗴

30
Comments 2
3 min read
The Shirt Drying Problem: An Analogous Tale about Function Coloring

The Shirt Drying Problem: An Analogous Tale about Function Coloring

1
Comments
7 min read
Harris Algorithm

Harris Algorithm

Comments
4 min read
Understanding insertion sort algorithm: Beginner's guide with leetcode problems

Understanding insertion sort algorithm: Beginner's guide with leetcode problems

1
Comments
6 min read
Still Using SQL, Python, & Excel for Data Deduplication? Here's Why You Need Better Tools.

Still Using SQL, Python, & Excel for Data Deduplication? Here's Why You Need Better Tools.

5
Comments
4 min read
Singly Linked List Implementation in Go

Singly Linked List Implementation in Go

7
Comments
5 min read
Understanding bubble sort algorithm: Beginner's guide with leetcode problems

Understanding bubble sort algorithm: Beginner's guide with leetcode problems

4
Comments
8 min read
Mastering Linked List: 105 Interview Questions for DSA Success

Mastering Linked List: 105 Interview Questions for DSA Success

33
Comments 2
4 min read
Finding an Element in an Infinite Array Using Java

Finding an Element in an Infinite Array Using Java

Comments
3 min read
Mastering Time and Space Complexity: A Beginner's Guide to Big O Notation

Mastering Time and Space Complexity: A Beginner's Guide to Big O Notation

2
Comments
7 min read
Mastering Arrays: 56 Interview Questions for DSA Success

Mastering Arrays: 56 Interview Questions for DSA Success

32
Comments 2
4 min read
Array Data Structure with Time and Space Complexity.

Array Data Structure with Time and Space Complexity.

34
Comments 3
1 min read
Parallelizing Sorting Algorithms using OpenMP

Parallelizing Sorting Algorithms using OpenMP

2
Comments
10 min read
How to Implement Singly Linked List in Python

How to Implement Singly Linked List in Python

1
Comments
2 min read
Lessons learned from improving a Rust program

Lessons learned from improving a Rust program

1
Comments
11 min read
Data Structures & Algorithm Linked List Day 1

Data Structures & Algorithm Linked List Day 1

Comments
12 min read
A Voyage through Algorithms using Javascript - Insertion Sort

A Voyage through Algorithms using Javascript - Insertion Sort

5
Comments
5 min read
Time Complexity, Space Complexity and Big O Notation

Time Complexity, Space Complexity and Big O Notation

30
Comments
10 min read
1497. Check If Array Pairs Are Divisible by k

1497. Check If Array Pairs Are Divisible by k

Comments
4 min read
How to Choose the Right Algorithm for Model Training

How to Choose the Right Algorithm for Model Training

1
Comments
1 min read
loading...