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.
Data Science & Algorithms: Merge Sort

Data Science & Algorithms: Merge Sort

5
Comments
2 min read
Zigzag Direction

Zigzag Direction

4
Comments
2 min read
A pattern to solve Binary Tree problems with Golang

A pattern to solve Binary Tree problems with Golang

12
Comments 1
4 min read
Hydrothermal Venture

Hydrothermal Venture

6
Comments
3 min read
Stack Data Structure in JavaScript

Stack Data Structure in JavaScript

9
Comments
4 min read
Monster Messages

Monster Messages

5
Comments
4 min read
Linked List Data Structure in JavaScript

Linked List Data Structure in JavaScript

7
Comments
8 min read
Queue Data Structure in JavaScript

Queue Data Structure in JavaScript

7
Comments
4 min read
Python for Stock Market Analysis: Working with Moving Averages

Python for Stock Market Analysis: Working with Moving Averages

11
Comments
16 min read
Big O notation explained: DSA-01

Big O notation explained: DSA-01

6
Comments
2 min read
Introduction to Data Structures and Algorithms With Python

Introduction to Data Structures and Algorithms With Python

6
Comments
5 min read
Introduction to Big O notation

Introduction to Big O notation

11
Comments
3 min read
Python: A Beginner's Guide to Data Structures and Algorithms

Python: A Beginner's Guide to Data Structures and Algorithms

11
Comments
7 min read
Sudoku Solver using SolidJS & Tailwind

Sudoku Solver using SolidJS & Tailwind

10
Comments
1 min read
A program to compute the normalization coefficients of a given orthogonal 1-D complex wave function

A program to compute the normalization coefficients of a given orthogonal 1-D complex wave function

3
Comments
1 min read
Binary Tree | the best 5 coding questions you must solve

Binary Tree | the best 5 coding questions you must solve

5
Comments 2
4 min read
Lobby Layout

Lobby Layout

7
Comments
6 min read
Binary Search with JavaScript

Binary Search with JavaScript

18
Comments
2 min read
The Two Sum Problem -Java edition

The Two Sum Problem -Java edition

4
Comments
3 min read
[ Python ] - Iterator & Generator

[ Python ] - Iterator & Generator

4
Comments
1 min read
Day 28 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#166. Fraction to Recurring Decimal(Med/JavaScript)

Day 28 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#166. Fraction to Recurring Decimal(Med/JavaScript)

8
Comments
5 min read
What is Dynamic Programming?

What is Dynamic Programming?

16
Comments
4 min read
An introduction to Scala

An introduction to Scala

6
Comments
3 min read
LeetCode problem #1 — Two-sum (JavaScript)

LeetCode problem #1 — Two-sum (JavaScript)

6
Comments
3 min read
LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

6
Comments 1
2 min read
DFS and BFS of a graph

DFS and BFS of a graph

5
Comments
2 min read
LeetCode problem #4 — Median of two sorted arrays (JavaScript)

LeetCode problem #4 — Median of two sorted arrays (JavaScript)

2
Comments
2 min read
Day 27 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#862. Shortest Subarray with Sum at Least K(H/JS)

Day 27 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#862. Shortest Subarray with Sum at Least K(H/JS)

7
Comments
5 min read
Introduction to Data structures and algorithms

Introduction to Data structures and algorithms

7
Comments
8 min read
Median of Two Sorted Arrays

Median of Two Sorted Arrays

8
Comments 1
2 min read
Longest Substring without repeating characters

Longest Substring without repeating characters

7
Comments
2 min read
Prime Number Generation Part 1: Optimized Trial Division With AVX512 SIMD Intrinsics.

Prime Number Generation Part 1: Optimized Trial Division With AVX512 SIMD Intrinsics.

4
Comments
2 min read
what I learned last week: merge sort algorithm

what I learned last week: merge sort algorithm

7
Comments
3 min read
Interpreted Python: Linear Data Structures

Interpreted Python: Linear Data Structures

7
Comments
5 min read
Day 26 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#42. Trapping Rain Water(Hard/JavaScript)

Day 26 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#42. Trapping Rain Water(Hard/JavaScript)

10
Comments
4 min read
Lost AirPods, arrays, and sorting algorithms

Lost AirPods, arrays, and sorting algorithms

30
Comments 1
15 min read
Day 25 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#121. Best Time to Buy and Sell Stock(Easy/JS)

Day 25 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#121. Best Time to Buy and Sell Stock(Easy/JS)

7
Comments
3 min read
Crab Combat

Crab Combat

3
Comments
7 min read
Day 24 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1395. Count Number of Teams(Medium/JavaScript)

Day 24 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1395. Count Number of Teams(Medium/JavaScript)

8
Comments
4 min read
Queue Implementation using java

Queue Implementation using java

10
Comments
3 min read
Day 23 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#155. Min Stack(Easy/JavaScript)

Day 23 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#155. Min Stack(Easy/JavaScript)

6
Comments
3 min read
How I REACTO to Algos: Tournament Winner

How I REACTO to Algos: Tournament Winner

6
Comments
10 min read
Day 21 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#387. First Unique Character in a String(Easy/JS)

Day 21 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#387. First Unique Character in a String(Easy/JS)

7
Comments
3 min read
Quicksort Algorithm

Quicksort Algorithm

4
Comments
8 min read
104. Depth of Binary Tree

104. Depth of Binary Tree

7
Comments
4 min read
Introduction to Data Structures and Algorithms With Modern JavaScript.

Introduction to Data Structures and Algorithms With Modern JavaScript.

7
Comments
4 min read
Day 20 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#724. Find Pivot Index(Easy/JavaScript)

Day 20 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#724. Find Pivot Index(Easy/JavaScript)

7
Comments
4 min read
Dive!

Dive!

6
Comments
3 min read
The question is not can you build it, but rather should you build it

The question is not can you build it, but rather should you build it

4
Comments
4 min read
Crab Cups

Crab Cups

6
Comments
5 min read
Two Sum Problem

Two Sum Problem

16
Comments 4
2 min read
Day 19 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#83. Remove Duplicates from Sorted List(E/JS)

Day 19 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#83. Remove Duplicates from Sorted List(E/JS)

6
Comments
3 min read
LeetCode WalkThru: 'Reverse Integer'

LeetCode WalkThru: 'Reverse Integer'

9
Comments
7 min read
Hamming Distance - C++ Solution

Hamming Distance - C++ Solution

48
Comments 18
3 min read
🥇Counting Valleys - HackerRank Solution (Javascript) 🚀

🥇Counting Valleys - HackerRank Solution (Javascript) 🚀

9
Comments
2 min read
Binary Diagnostic

Binary Diagnostic

6
Comments
5 min read
Coding Interview – Solve Sudokus Using Python and Z3

Coding Interview – Solve Sudokus Using Python and Z3

6
Comments
4 min read
Hamming Distance - Java Solution

Hamming Distance - Java Solution

43
Comments
3 min read
BFS/DFS/DP LeetCode Notes: Send message

BFS/DFS/DP LeetCode Notes: Send message

4
Comments
4 min read
Data Structure Algorithms: Linear Search

Data Structure Algorithms: Linear Search

7
Comments
1 min read
loading...