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.
Binary Tree 1.0

Binary Tree 1.0

66
Comments 5
21 min read
20 Essential Coding Patterns to Ace Your Next Coding Interview

20 Essential Coding Patterns to Ace Your Next Coding Interview

56
Comments 2
21 min read
Complexidade de Tempo dos Algoritmos

Complexidade de Tempo dos Algoritmos

53
Comments 3
6 min read
A smart way to translate guitar chords into piano sheet music with Python

A smart way to translate guitar chords into piano sheet music with Python

49
Comments
16 min read
Entendendo Algoritmos - Segunda Semana

Entendendo Algoritmos - Segunda Semana

39
Comments 6
4 min read
Finding the largest value in each tree row

Finding the largest value in each tree row

38
Comments 8
5 min read
Big O Notation: A Simple Explanation With Examples

Big O Notation: A Simple Explanation With Examples

32
Comments 7
15 min read
Exploring Genetic Algorithms with Ruby

Exploring Genetic Algorithms with Ruby

32
Comments 11
3 min read
Understanding Tail Call Optimization With JavaScript

Understanding Tail Call Optimization With JavaScript

31
Comments 6
5 min read
Recursion in Javascript

Recursion in Javascript

27
Comments 8
4 min read
Entendendo Algoritmos: Introdução a Algoritmos

Entendendo Algoritmos: Introdução a Algoritmos

24
Comments 5
4 min read
Unmasking LinkedIn's Connection Logic 🤯

Unmasking LinkedIn's Connection Logic 🤯

22
Comments 4
3 min read
MindMap for revision of DSA in 30 days !! 🎯

MindMap for revision of DSA in 30 days !! 🎯

18
Comments 1
1 min read
Feeling Stuck with DSA? 🤔 Open This! 🔥

Feeling Stuck with DSA? 🤔 Open This! 🔥

17
Comments 4
1 min read
Building an Efficient MinStack in JavaScript🚀

Building an Efficient MinStack in JavaScript🚀

15
Comments
3 min read
🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

14
Comments
4 min read
Key JavaScript Concepts I Mastered During LeetCode’s 30-Day Challenge

Key JavaScript Concepts I Mastered During LeetCode’s 30-Day Challenge

14
Comments 2
5 min read
Doubly Linked Lists

Doubly Linked Lists

14
Comments
4 min read
Entendendo Algoritmos: Recursão

Entendendo Algoritmos: Recursão

13
Comments 2
4 min read
Introduction to graphs - BFS algorithm

Introduction to graphs - BFS algorithm

13
Comments
6 min read
Insertion Sort in Java (With Intuition + Dry run + Code)

Insertion Sort in Java (With Intuition + Dry run + Code)

12
Comments 2
2 min read
Partition List | LeetCode | Java

Partition List | LeetCode | Java

12
Comments
2 min read
LeetCode, Hard (Acceptance 24%, Latest): 2867. Count Valid Paths in a Tree. DFS. O(n). Swift.

LeetCode, Hard (Acceptance 24%, Latest): 2867. Count Valid Paths in a Tree. DFS. O(n). Swift.

12
Comments 1
3 min read
Computing the 10,000th Fibonacci number in less than a second. Unveiling the Secrets of Giant Numbers: Building Your Own BigInt

Computing the 10,000th Fibonacci number in less than a second. Unveiling the Secrets of Giant Numbers: Building Your Own BigInt

12
Comments
6 min read
Branchless programming in Dart?

Branchless programming in Dart?

12
Comments 3
2 min read
Complexidade de Espaço dos Algoritmos

Complexidade de Espaço dos Algoritmos

11
Comments 1
2 min read
Data structures and algorithms in depth: C++, Swift, Python, Java, C#, JavaScript.

Data structures and algorithms in depth: C++, Swift, Python, Java, C#, JavaScript.

11
Comments 1
31 min read
Two Sum — LeetCode Java Solution

Two Sum — LeetCode Java Solution

11
Comments
5 min read
Maximum Number of Vowels in a Substring of Given Length | LeetCode | Java

Maximum Number of Vowels in a Substring of Given Length | LeetCode | Java

11
Comments
1 min read
Entendendo Algoritmos: Ordenação por Seleção

Entendendo Algoritmos: Ordenação por Seleção

11
Comments 2
3 min read
100 computer science concepts, you should know.

100 computer science concepts, you should know.

11
Comments
11 min read
#2667: Create Hello World Function

#2667: Create Hello World Function

10
Comments
2 min read
Binary Search in Python

Binary Search in Python

10
Comments
1 min read
Flatten Binary Tree to Linked List | LeetCode | Java

Flatten Binary Tree to Linked List | LeetCode | Java

10
Comments
1 min read
Supervised Learning

Supervised Learning

10
Comments
7 min read
6 Must-Try Coding Problem Websites 💻

6 Must-Try Coding Problem Websites 💻

10
Comments
6 min read
Circle drawing algorithm in C

Circle drawing algorithm in C

10
Comments
4 min read
Product of Array Except Self - LeetCode Java Solution

Product of Array Except Self - LeetCode Java Solution

10
Comments
6 min read
Valid Anagram - LeetCode Java Solution

Valid Anagram - LeetCode Java Solution

10
Comments
7 min read
Selection Sort in Java (With Intuition + Dry run + Code)

Selection Sort in Java (With Intuition + Dry run + Code)

10
Comments
2 min read
Explain Dynamic Programming and Other Techniques with Examples

Explain Dynamic Programming and Other Techniques with Examples

10
Comments 4
31 min read
Book Club: Grokking Algorithms. 5: Dijkstra's algorithm, greedy algorithms

Book Club: Grokking Algorithms. 5: Dijkstra's algorithm, greedy algorithms

9
Comments 2
3 min read
Word Pattern - LeetCode - Java

Word Pattern - LeetCode - Java

9
Comments
1 min read
Book Club: Eloquent JavaScript. 1 Welcome

Book Club: Eloquent JavaScript. 1 Welcome

9
Comments 2
2 min read
Algorithms: The Invisible Code Shaping The World

Algorithms: The Invisible Code Shaping The World

9
Comments
7 min read
Check if the Sentence Is Pangram | LeetCode | Java

Check if the Sentence Is Pangram | LeetCode | Java

9
Comments
2 min read
Book Club: Grokking Algorithms. 6: Dynamic programming and k-nearest neighbours

Book Club: Grokking Algorithms. 6: Dynamic programming and k-nearest neighbours

8
Comments 3
4 min read
LeetCode 2612 (Hard). Minimum Reverse Operations. Swift. BFS. O(n+k). O(n).

LeetCode 2612 (Hard). Minimum Reverse Operations. Swift. BFS. O(n+k). O(n).

8
Comments
4 min read
Solving Palindrome Check with JavaScript

Solving Palindrome Check with JavaScript

8
Comments 5
2 min read
#2665: Counter II

#2665: Counter II

8
Comments 3
2 min read
Flowchart Wizardry: Master the Art of Visualizing Algorithms 😎

Flowchart Wizardry: Master the Art of Visualizing Algorithms 😎

8
Comments
3 min read
#2620: Counter

#2620: Counter

8
Comments
2 min read
LeetCode Mastery: A Personal Odyssey Through 600 Challenges with Advice, FAQs and Resources

LeetCode Mastery: A Personal Odyssey Through 600 Challenges with Advice, FAQs and Resources

8
Comments 1
6 min read
Data Structures - Part 1: Everything You Need to Know About Arrays

Data Structures - Part 1: Everything You Need to Know About Arrays

8
Comments 1
8 min read
Bubble Sort in Java (With Intuition + Dry run + Code)

Bubble Sort in Java (With Intuition + Dry run + Code)

8
Comments
3 min read
Singly Linked Lists

Singly Linked Lists

8
Comments
3 min read
Contains Duplicate - LeetCode Java Solution

Contains Duplicate - LeetCode Java Solution

8
Comments
7 min read
Computer Science 4 Newbies - Understanding Binary Search

Computer Science 4 Newbies - Understanding Binary Search

8
Comments 3
3 min read
🧩 Mastering Insert Interval: Your Guide to Tackling a Blind 75 LeetCode Problem 🧩

🧩 Mastering Insert Interval: Your Guide to Tackling a Blind 75 LeetCode Problem 🧩

7
Comments
3 min read
LeetCode, Hard, last two problems: 2809. Min Time to Make Array Sum At Most x & 2813. Max Elegance of a K-Length Subseq.

LeetCode, Hard, last two problems: 2809. Min Time to Make Array Sum At Most x & 2813. Max Elegance of a K-Length Subseq.

7
Comments 2
4 min read
loading...