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.
LeetCode: First Unique Character in a String

LeetCode: First Unique Character in a String

4
Comments
1 min read
LeetCode: First Bad Version

LeetCode: First Bad Version

5
Comments
2 min read
LeetCode: Jewels and Stones

LeetCode: Jewels and Stones

6
Comments 1
1 min read
Disjoint-Set/Union-Find Data Structure

Disjoint-Set/Union-Find Data Structure

7
Comments
5 min read
String Searching Using Rabin-Karp

String Searching Using Rabin-Karp

6
Comments
4 min read
Get Started Learning Data Structures & Algorithms

Get Started Learning Data Structures & Algorithms

6
Comments
3 min read
Sorting Algorithms in Python

Sorting Algorithms in Python

27
Comments
6 min read
Today, we celebrate!

Today, we celebrate!

5
Comments
3 min read
Jump Search

Jump Search

9
Comments
5 min read
Dijkstra’s Algorithm visualization

Dijkstra’s Algorithm visualization

4
Comments
1 min read
FizzBuzz JavaScript

FizzBuzz JavaScript

22
Comments 9
2 min read
What’s the Difference Between Big O, Big Omega, and Big Theta?

What’s the Difference Between Big O, Big Omega, and Big Theta?

22
Comments 1
5 min read
LeetCode 1365. How Many Numbers Are Smaller Than the Current Number

LeetCode 1365. How Many Numbers Are Smaller Than the Current Number

6
Comments
2 min read
Insertion Sort Algorithm - Algorithm Design and Analysis 06:37

Insertion Sort Algorithm - Algorithm Design and Analysis

15
Comments
1 min read
Algorithms part 1

Algorithms part 1

6
Comments 2
4 min read
Finding the Shortest Path: Locating a Target In A Tree

Finding the Shortest Path: Locating a Target In A Tree

11
Comments
4 min read
Open-source JavaScript Data Structures & Algorithms

Open-source JavaScript Data Structures & Algorithms

24
Comments 2
2 min read
FCC Algorithm Challenges / Factorialize a Number

FCC Algorithm Challenges / Factorialize a Number

2
Comments 2
3 min read
Binary Search

Binary Search

5
Comments
7 min read
What makes MySQL LRU cache scan resistant

What makes MySQL LRU cache scan resistant

9
Comments
8 min read
Fundamental Data Structures and Algorithms in C#

Fundamental Data Structures and Algorithms in C#

347
Comments 14
15 min read
Big O Factorial Time Complexity

Big O Factorial Time Complexity

18
Comments
5 min read
FCC Algorithm Challenges / Reverse a String

FCC Algorithm Challenges / Reverse a String

7
Comments
3 min read
How to find the maximum character in a string and how many times it appeared

How to find the maximum character in a string and how many times it appeared

20
Comments
3 min read
The big STL Algorithms tutorial: replace N elements

The big STL Algorithms tutorial: replace N elements

7
Comments
6 min read
Sliding Window Technique

Sliding Window Technique

9
Comments
2 min read
Getting Started With Data Structure and Algorithm With Revisiting DSA Series

Getting Started With Data Structure and Algorithm With Revisiting DSA Series

5
Comments
2 min read
Best Profit in Single Sale

Best Profit in Single Sale

6
Comments
2 min read
Two Equations to Improve Your Analysis of Algorithms

Two Equations to Improve Your Analysis of Algorithms

21
Comments
4 min read
What is Recursion?

What is Recursion?

26
Comments 3
4 min read
Sudoku Solver, power of backtracking. 🔥

Sudoku Solver, power of backtracking. 🔥

11
Comments
5 min read
Algorithms Day 1- Linear and Binary Search

Algorithms Day 1- Linear and Binary Search

2
Comments
1 min read
30-Day LeetCoding Challenge: Perform String Shifts

30-Day LeetCoding Challenge: Perform String Shifts

3
Comments 2
3 min read
Iterate Over An Array And Remove Elements

Iterate Over An Array And Remove Elements

6
Comments 1
7 min read
Scheduling Algorithm

Scheduling Algorithm

5
Comments 1
1 min read
Add Binary, solving Facebook interview question

Add Binary, solving Facebook interview question

5
Comments
2 min read
30-Day LeetCoding Challenge: Contiguous Array

30-Day LeetCoding Challenge: Contiguous Array

6
Comments
3 min read
Covid Matrix, Implementing Breadth-First Search Algorithm with virus.

Covid Matrix, Implementing Breadth-First Search Algorithm with virus.

6
Comments
4 min read
Big O Notation: O(N!)

Big O Notation: O(N!)

10
Comments 2
4 min read
Minimum Spanning Tree (Kruskal's Algorithm)

Minimum Spanning Tree (Kruskal's Algorithm)

18
Comments
2 min read
Lowest Common Ancestor of a Binary Search Tree

Lowest Common Ancestor of a Binary Search Tree

8
Comments
2 min read
Lowest Common Ancestor of a Binary Tree

Lowest Common Ancestor of a Binary Tree

6
Comments
2 min read
Subarray Sum Equals K, applying Math.

Subarray Sum Equals K, applying Math.

8
Comments
3 min read
What is Dynamic Programming? Learn Memoization and Tabulation

What is Dynamic Programming? Learn Memoization and Tabulation

43
Comments
5 min read
Competitive Coding Q1: Min Stack

Competitive Coding Q1: Min Stack

8
Comments
4 min read
30-Day LeetCoding Challenge: Backspace String Compare

30-Day LeetCoding Challenge: Backspace String Compare

5
Comments
3 min read
Algorithm 202: Sock Merchant

Algorithm 202: Sock Merchant

5
Comments 2
1 min read
Find The Length of the Longest Substring Without Repeating Characters - Javascript Solution

Find The Length of the Longest Substring Without Repeating Characters - Javascript Solution

13
Comments 2
3 min read
The power of SvelteJS: building an animated image carousel in <30 lines of code ✨

The power of SvelteJS: building an animated image carousel in <30 lines of code ✨

41
Comments 3
10 min read
Group Anagram, Exploring canonical forms

Group Anagram, Exploring canonical forms

6
Comments
3 min read
Converting a sorted array to binary search tree in Javascript

Converting a sorted array to binary search tree in Javascript

5
Comments 3
1 min read
30-Day LeetCoding Challenge: Move Zeroes

30-Day LeetCoding Challenge: Move Zeroes

6
Comments
3 min read
Big O Notation: O(2^N)

Big O Notation: O(2^N)

21
Comments 2
3 min read
Three Implementations of a Bag in Python

Three Implementations of a Bag in Python

10
Comments
6 min read
Merge Two Sorted Lists

Merge Two Sorted Lists

6
Comments
1 min read
System Design: Sliding window based Rate Limiter

System Design: Sliding window based Rate Limiter

7
Comments
9 min read
Palindrome Checker : A sleek implementation of the double-ended queue data structure.

Palindrome Checker : A sleek implementation of the double-ended queue data structure.

7
Comments 1
5 min read
Introduction to function profiling (string reversal)

Introduction to function profiling (string reversal)

2
Comments
8 min read
Algorithm 202 (Interview Question): Matching Parenthesis in 2 Ways

Algorithm 202 (Interview Question): Matching Parenthesis in 2 Ways

7
Comments 2
3 min read
Maximum Subarray, Kadane's algorithm

Maximum Subarray, Kadane's algorithm

5
Comments
2 min read
loading...