DEV Community

loading...

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

👋 Sign in for the ability sort posts by top and latest.
Valid Mountain Array — Solution and Approch in Java

Valid Mountain Array — Solution and Approch in Java

Reactions 3 Comments
2 min read
What is Backtracking?

What is Backtracking?

Reactions 4 Comments
4 min read
Day 2 - Valid Sudoku

Day 2 - Valid Sudoku

Reactions 3 Comments
1 min read
Find All Numbers Disappeared in an Array - Go solutions

Find All Numbers Disappeared in an Array - Go solutions

Reactions 2 Comments
2 min read
LeetCode explained: July Challenge 2021, week 4 - Partition Array into Disjoint Sets (medium)

LeetCode explained: July Challenge 2021, week 4 - Partition Array into Disjoint Sets (medium)

Reactions 2 Comments
3 min read
LeetCode Explained: 50. Pow(x, n) - Logarithmic Exponentiation (medium)

LeetCode Explained: 50. Pow(x, n) - Logarithmic Exponentiation (medium)

Reactions 3 Comments
2 min read
Kadane's Algorithm (Maximum Sum Subarray Problem)

Kadane's Algorithm (Maximum Sum Subarray Problem)

Reactions 13 Comments 4
4 min read
Algorithms and Scripting: Problems and Notes Part 3

Algorithms and Scripting: Problems and Notes Part 3

Reactions 2 Comments
2 min read
How to check if a Binary Tree is a BST

How to check if a Binary Tree is a BST

Reactions 5 Comments
3 min read
LeetCode 300. Longest Increasing Subsequence (javascript solution)

LeetCode 300. Longest Increasing Subsequence (javascript solution)

Reactions 3 Comments
1 min read
Solving Multisoft's Monthly Code Challenge

Solving Multisoft's Monthly Code Challenge

Reactions 4 Comments
2 min read
Let's Talk About Big-O

Let's Talk About Big-O

Reactions 2 Comments
7 min read
Implementing Merge Sort in Rust

Implementing Merge Sort in Rust

Reactions 5 Comments
2 min read
Array rotation, a simple approach using JS

Array rotation, a simple approach using JS

Reactions 18 Comments
3 min read
5 Steps to Solving Programming Problems

5 Steps to Solving Programming Problems

Reactions 3 Comments
7 min read
Algorithms and Scripting: Problems and Notes Part 2:

Algorithms and Scripting: Problems and Notes Part 2:

Reactions 5 Comments
2 min read
Algorithm Scripting: Notes & Problems

Algorithm Scripting: Notes & Problems

Reactions 3 Comments
3 min read
Types of Graph

Types of Graph

Reactions 7 Comments
2 min read
The 8 Must-Know Data Types in JavaScript : Ultimate Guide

The 8 Must-Know Data Types in JavaScript : Ultimate Guide

Reactions 5 Comments
6 min read
LeetCode 11. Container With Most Water (javascript solution)

LeetCode 11. Container With Most Water (javascript solution)

Reactions 3 Comments
1 min read
Why I love Linked Lists

Why I love Linked Lists

Reactions 5 Comments
8 min read
Using heuristics for intelligence

Using heuristics for intelligence

Reactions 2 Comments
2 min read
What is the sorting algorithm behind ORDER BY query in MySQL?

What is the sorting algorithm behind ORDER BY query in MySQL?

Reactions 6 Comments
4 min read
Algorithm Approach: Retrieve Depth

Algorithm Approach: Retrieve Depth

Reactions 4 Comments
3 min read
Deep Atlantic Storage: Sorting Bits

Deep Atlantic Storage: Sorting Bits

Reactions 5 Comments
6 min read
Depth First Search (DFS) Algorithm

Depth First Search (DFS) Algorithm

Reactions 13 Comments
1 min read
L'algorithme de recherche binaire

L'algorithme de recherche binaire

Reactions 5 Comments
7 min read
Breadth First Search (BFS) Algorithm

Breadth First Search (BFS) Algorithm

Reactions 8 Comments
3 min read
Asymptotic Notations

Asymptotic Notations

Reactions 5 Comments
9 min read
A look into Dynamic Programming - Matrix Chain Multiplication

A look into Dynamic Programming - Matrix Chain Multiplication

Reactions 8 Comments
5 min read
Introduction to Data Structures and Algorithms With Python.

Introduction to Data Structures and Algorithms With Python.

Reactions 53 Comments 3
5 min read
Build Array from Permutation – Solution to LeetCode Problem

Build Array from Permutation – Solution to LeetCode Problem

Reactions 3 Comments
3 min read
Implementing the DOM contains() method

Implementing the DOM contains() method

Reactions 3 Comments
4 min read
Technically a Software Developer

Technically a Software Developer

Reactions 2 Comments
3 min read
Day 1 - Remove Nth Node From End of List

Day 1 - Remove Nth Node From End of List

Reactions 3 Comments
1 min read
Finding shortest social connection path

Finding shortest social connection path

Reactions 6 Comments
1 min read
A Story About Algorithms

A Story About Algorithms

Reactions 5 Comments
4 min read
Four Rules for Big O

Four Rules for Big O

Reactions 20 Comments
4 min read
Merge Sort 07:49

Merge Sort

Reactions 2 Comments
1 min read
Algorithm Problems - Baby Steps in Providing Solutions Using JavaScript

Algorithm Problems - Baby Steps in Providing Solutions Using JavaScript

Reactions 175 Comments 6
6 min read
Arrays Questions: Reverse an array

Arrays Questions: Reverse an array

Reactions 6 Comments
2 min read
Sieve of Eratosthenes, What is it?

Sieve of Eratosthenes, What is it?

Reactions 14 Comments
3 min read
Time complexity is actually easy!!

Time complexity is actually easy!!

Reactions 5 Comments
1 min read
Time complexity is actually easy!!

Time complexity is actually easy!!

Reactions 4 Comments
1 min read
Depth First Traverse

Depth First Traverse

Reactions 5 Comments
1 min read
Introduction To Graphs

Introduction To Graphs

Reactions 6 Comments
3 min read
Deep Learning for Dummies #1 - Introduction

Deep Learning for Dummies #1 - Introduction

Reactions 2 Comments
4 min read
CXXGraph Library

CXXGraph Library

Reactions 6 Comments 1
6 min read
Implementing String repeat() function in JS

Implementing String repeat() function in JS

Reactions 3 Comments
5 min read
How Recursion Works: The Easy Way (No Fibonacci)

How Recursion Works: The Easy Way (No Fibonacci)

Reactions 14 Comments
5 min read
From DFS to Topological Sort

From DFS to Topological Sort

Reactions 2 Comments
4 min read
LeetCode 121. Best Time to Buy and Sell Stock (javascript solution)

LeetCode 121. Best Time to Buy and Sell Stock (javascript solution)

Reactions 4 Comments
1 min read
Building a Red-Black Binary Tree in Python

Building a Red-Black Binary Tree in Python

Reactions 5 Comments
8 min read
Finding 3.14 in JavaScript

Finding 3.14 in JavaScript

Reactions 2 Comments
4 min read
The B.U.D Technique

The B.U.D Technique

Reactions 4 Comments
4 min read
Count the triplets

Count the triplets

Reactions 5 Comments
2 min read
LeetCode 124. Binary Tree Maximum Path Sum

LeetCode 124. Binary Tree Maximum Path Sum

Reactions 4 Comments
3 min read
Heap sort algorithm

Heap sort algorithm

Reactions 5 Comments
2 min read
How to create your own getEelmentById

How to create your own getEelmentById

Reactions 4 Comments
2 min read
Determine if a BST is valid or not

Determine if a BST is valid or not

Reactions 7 Comments
4 min read
loading...