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.
Finding Nth Fibonacci Number in Java

Finding Nth Fibonacci Number in Java

Comments
2 min read
Solving Coding Problems using the Inclusion-Exclusion Principle and its variations

Solving Coding Problems using the Inclusion-Exclusion Principle and its variations

2
Comments
7 min read
LeetCode Meditations — Chapter 7: Trees

LeetCode Meditations — Chapter 7: Trees

2
Comments
9 min read
Never Tell Me The Odds

Never Tell Me The Odds

Comments
7 min read
How To Find The First Occurrence of a string

How To Find The First Occurrence of a string

5
Comments
2 min read
Alice: Finite Automata kind of simple to understand.

Alice: Finite Automata kind of simple to understand.

1
Comments
3 min read
Largest Number | LeetCode | Java

Largest Number | LeetCode | Java

7
Comments
2 min read
Designing and Implementing a Microsoft Azure AI Solution

Designing and Implementing a Microsoft Azure AI Solution

Comments
1 min read
Day 1 of #100DaysOfCode Hash Tables

Day 1 of #100DaysOfCode Hash Tables

Comments
1 min read
Introduction to Queues

Introduction to Queues

2
Comments
3 min read
Solving the Baseball Game in Go

Solving the Baseball Game in Go

Comments
4 min read
A Long Walk

A Long Walk

Comments
7 min read
Word Pattern - LeetCode - Java

Word Pattern - LeetCode - Java

9
Comments
1 min read
Merge In Between Linked Lists | LeetCode | Java

Merge In Between Linked Lists | LeetCode | Java

7
Comments
2 min read
Don't "Trust" GitHub Code Just Because It's Got Lots Of Stars

Don't "Trust" GitHub Code Just Because It's Got Lots Of Stars

4
Comments 7
1 min read
Optimizing Travel Routes: Applying Genetic Algorithms to the Traveling Salesman Problem

Optimizing Travel Routes: Applying Genetic Algorithms to the Traveling Salesman Problem

5
Comments 1
16 min read
leetcode: Median of Two Sorted Arrays Problem in C++

leetcode: Median of Two Sorted Arrays Problem in C++

3
Comments
3 min read
K-Nearest Neighbor(K-NN) Algorithms for Machine Learning

K-Nearest Neighbor(K-NN) Algorithms for Machine Learning

Comments
2 min read
46. Permutations

46. Permutations

Comments
4 min read
LeetCode Meditations: Merge K Sorted Lists

LeetCode Meditations: Merge K Sorted Lists

Comments
3 min read
Solving DSA Problems. HackerRank: Winning Lottery Ticket

Solving DSA Problems. HackerRank: Winning Lottery Ticket

Comments
5 min read
Hands-On Coding: Exploring Hyperparameters for Programmers

Hands-On Coding: Exploring Hyperparameters for Programmers

Comments
2 min read
743. Network Delay Time - Breadth-First Search Approach

743. Network Delay Time - Breadth-First Search Approach

Comments
2 min read
1448. Count Good Nodes in Binary Tree

1448. Count Good Nodes in Binary Tree

Comments
5 min read
Step Counter

Step Counter

Comments
4 min read
Introduction to Arrays

Introduction to Arrays

1
Comments
3 min read
Pulse Propagation

Pulse Propagation

Comments
9 min read
LeetCode Meditations: Linked List Cycle

LeetCode Meditations: Linked List Cycle

1
Comments
3 min read
LeetCode Meditations: Remove Nth Node From the End of List

LeetCode Meditations: Remove Nth Node From the End of List

Comments
3 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
LeetCode Meditations: Reorder List

LeetCode Meditations: Reorder List

Comments
4 min read
Solve Subarray Product Less Than K in javascript

Solve Subarray Product Less Than K in javascript

1
Comments
3 min read
LeetCode Meditations — Interlude: Fast & Slow Pointers

LeetCode Meditations — Interlude: Fast & Slow Pointers

6
Comments
2 min read
Algorithms Every Backend Web Developer Should Master

Algorithms Every Backend Web Developer Should Master

2
Comments 1
2 min read
5 Websites to Boost Your Coding and Master Algorithms 🚀

5 Websites to Boost Your Coding and Master Algorithms 🚀

Comments
2 min read
Let's detect flowers! (with SageMaker and DeepLens)

Let's detect flowers! (with SageMaker and DeepLens)

5
Comments
4 min read
743. Network Delay Time - Depth First Search Approach

743. Network Delay Time - Depth First Search Approach

Comments
2 min read
LeetCode Meditations: Merge Two Sorted Lists

LeetCode Meditations: Merge Two Sorted Lists

Comments
3 min read
Intro to Genetic Algorithms with Elixir

Intro to Genetic Algorithms with Elixir

Comments
8 min read
Leveraging tail recursion for faster runtimes and smaller footprints

Leveraging tail recursion for faster runtimes and smaller footprints

Comments 1
4 min read
Find Bottom Left Tree Value | LeetCode | Java | 2 Methods (BFS & DFS)

Find Bottom Left Tree Value | LeetCode | Java | 2 Methods (BFS & DFS)

5
Comments
1 min read
Beyond the Hype: Unveiling the Truth About Secret Trading Software and BT Chat

Beyond the Hype: Unveiling the Truth About Secret Trading Software and BT Chat

2
Comments
3 min read
Priority Queue em Ruby

Priority Queue em Ruby

2
Comments
6 min read
Bubble Sort in Java (With Intuition + Dry run + Code)

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

10
Comments
3 min read
Alice: How we can understand TOC?

Alice: How we can understand TOC?

1
Comments
2 min read
Find Unique Binary String | LeetCode | Java

Find Unique Binary String | LeetCode | Java

5
Comments
1 min read
Find if Path Exists in Graph | LeetCode | Java

Find if Path Exists in Graph | LeetCode | Java

5
Comments
1 min read
Understanding Data Streams: A Conceptual Model for Advanced Pattern Detection

Understanding Data Streams: A Conceptual Model for Advanced Pattern Detection

Comments
2 min read
LeetCode Meditations: Reverse Linked List

LeetCode Meditations: Reverse Linked List

Comments
3 min read
How to compare the intersection of two intervals

How to compare the intersection of two intervals

5
Comments
2 min read
Compete in Web3 coding challenges and win a $$$ prize

Compete in Web3 coding challenges and win a $$$ prize

4
Comments
3 min read
My code to circular buffer (linked list)

My code to circular buffer (linked list)

Comments
2 min read
LeetCode Meditations — Chapter 6: Linked Lists

LeetCode Meditations — Chapter 6: Linked Lists

1
Comments
6 min read
All Paths From Source to Target(2 Methods) | LeetCode | Java

All Paths From Source to Target(2 Methods) | LeetCode | Java

5
Comments
1 min read
Remove All Adjacent Duplicates in String II | LeetCode | Java

Remove All Adjacent Duplicates in String II | LeetCode | Java

5
Comments
1 min read
MindMap for revision of DSA in 30 days !! 🎯

MindMap for revision of DSA in 30 days !! 🎯

41
Comments 2
1 min read
LeetCode Meditations: Search in Rotated Sorted Array

LeetCode Meditations: Search in Rotated Sorted Array

Comments
3 min read
Mastering Binary Search in Python 🚀

Mastering Binary Search in Python 🚀

5
Comments
3 min read
Algorithms: The Invisible Code Shaping The World

Algorithms: The Invisible Code Shaping The World

9
Comments
7 min read
Lavaduct Lagoon

Lavaduct Lagoon

Comments
7 min read
loading...