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.
Linear Search in JavaScript | Must-Know Beginner Algorithms

Linear Search in JavaScript | Must-Know Beginner Algorithms

13
Comments
3 min read
Quick Sort (JS Example)

Quick Sort (JS Example)

15
Comments 4
2 min read
Dijkstra's shortest path algorithm

Dijkstra's shortest path algorithm

19
Comments
2 min read
Deep Atlantic Storage: Sorting Bits

Deep Atlantic Storage: Sorting Bits

5
Comments
6 min read
FizzBuzz for Javascript

FizzBuzz for Javascript

12
Comments 6
1 min read
LinkedList Questions: Middle Element of Linked List - Naive Approach

LinkedList Questions: Middle Element of Linked List - Naive Approach

6
Comments
2 min read
Depth First Search (DFS) Algorithm

Depth First Search (DFS) Algorithm

13
Comments
1 min read
2 Data Structures & Algorithms Questions in JavaScript You Should Know Off The Top Of Your Head

2 Data Structures & Algorithms Questions in JavaScript You Should Know Off The Top Of Your Head

8
Comments
2 min read
LinkedList Questions: Reverse a Linked List - Recursive version

LinkedList Questions: Reverse a Linked List - Recursive version

5
Comments
2 min read
Breadth First Search (BFS) Algorithm

Breadth First Search (BFS) Algorithm

9
Comments
3 min read
Asymptotic Notations

Asymptotic Notations

5
Comments
9 min read
Solution: Jump Game VI

Solution: Jump Game VI

7
Comments
5 min read
Implementing String repeat() function in JS

Implementing String repeat() function in JS

3
Comments
5 min read
Topological sort

Topological sort

5
Comments
2 min read
Types of Graph

Types of Graph

7
Comments
2 min read
Build Array from Permutation – Solution to LeetCode Problem

Build Array from Permutation – Solution to LeetCode Problem

20
Comments 4
3 min read
Implementing the DOM contains() method

Implementing the DOM contains() method

4
Comments
4 min read
How Code has Fundamentally Changed Financial Markets

How Code has Fundamentally Changed Financial Markets

16
Comments
3 min read
Solving Multisoft's Monthly Code Challenge

Solving Multisoft's Monthly Code Challenge

4
Comments
2 min read
Count the triplets

Count the triplets

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

LeetCode 124. Binary Tree Maximum Path Sum

4
Comments
3 min read
Heap sort algorithm

Heap sort algorithm

5
Comments
2 min read
Your complete guide to Heap data structure!

Your complete guide to Heap data structure!

20
Comments 2
8 min read
How to create your own getEelmentById

How to create your own getEelmentById

4
Comments
2 min read
OSPF : A Dynamic Routing Protocol

OSPF : A Dynamic Routing Protocol

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

Determine if a BST is valid or not

5
Comments
4 min read
What is the fastest FizzBuzz?

What is the fastest FizzBuzz?

6
Comments 4
4 min read
LinkedList Questions: Reverse a Linked List - Iterative version

LinkedList Questions: Reverse a Linked List - Iterative version

6
Comments
2 min read
Bogo sort algorithm

Bogo sort algorithm

6
Comments
2 min read
Tail Recursion

Tail Recursion

5
Comments
3 min read
Insertion in AVL tree

Insertion in AVL tree

5
Comments
3 min read
Rotation in AVL tree

Rotation in AVL tree

7
Comments
2 min read
A Brief Introduction to Dynamic Programming

A Brief Introduction to Dynamic Programming

12
Comments 1
7 min read
Depth First Traverse

Depth First Traverse

5
Comments
1 min read
AST Evaluator - Expression calculator

AST Evaluator - Expression calculator

6
Comments
3 min read
Finding element that appears once in an array where other elements appear twice : Leetcode

Finding element that appears once in an array where other elements appear twice : Leetcode

7
Comments
1 min read
Introduction to AVL tree

Introduction to AVL tree

11
Comments
2 min read
Introduction To Graphs

Introduction To Graphs

8
Comments
3 min read
LinkedList Questions: [Single Pass] Delete nth node from end

LinkedList Questions: [Single Pass] Delete nth node from end

6
Comments
3 min read
Javascript red-black tree

Javascript red-black tree

7
Comments 1
8 min read
Making sense of 2D arrays

Making sense of 2D arrays

6
Comments
5 min read
deletion in binary search tree

deletion in binary search tree

6
Comments
2 min read
How To Check For Balanced Brackets In A String (Every Developer Must Know This To Think Better)

How To Check For Balanced Brackets In A String (Every Developer Must Know This To Think Better)

7
Comments
3 min read
Insertion and search in binary search tree

Insertion and search in binary search tree

5
Comments
3 min read
LinkedList Questions: [Two Pass] Delete nth node from end

LinkedList Questions: [Two Pass] Delete nth node from end

6
Comments
2 min read
Hash Algorithm in .NET Core

Hash Algorithm in .NET Core

12
Comments 2
9 min read
What is BIG O notation ?

What is BIG O notation ?

3
Comments
2 min read
Binary search tree in data structure

Binary search tree in data structure

13
Comments
2 min read
Learn programming, not a programming language.

Learn programming, not a programming language.

6
Comments
3 min read
Deep Learning for Dummies #2 - Learning Process

Deep Learning for Dummies #2 - Learning Process

2
Comments
3 min read
Binary tree in data structure

Binary tree in data structure

27
Comments
2 min read
The Painter's Partition Problem

The Painter's Partition Problem

4
Comments 1
3 min read
LinkedList Questions: Delete a given node in constant time

LinkedList Questions: Delete a given node in constant time

5
Comments
2 min read
Introduction to tree data structure

Introduction to tree data structure

25
Comments 4
1 min read
HackerEarth: Rank of a word in Dictionary

HackerEarth: Rank of a word in Dictionary

8
Comments
4 min read
Fibonacci, the fast way!

Fibonacci, the fast way!

10
Comments 2
5 min read
LinkedList Questions: Add Two Numbers as Linked List

LinkedList Questions: Add Two Numbers as Linked List

6
Comments
2 min read
The B.U.D Technique

The B.U.D Technique

11
Comments
4 min read
Solution: Redundant Connection

Solution: Redundant Connection

12
Comments 3
3 min read
Finding shortest social connection path

Finding shortest social connection path

6
Comments
1 min read
loading...