close
The Wayback Machine - https://web.archive.org/web/20230907070618/https://dev.to/t/algorithms

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.
Solving LeetCode "5. Longest Palindromic Substring" using Dynamic Programming

Solving LeetCode "5. Longest Palindromic Substring" using Dynamic Programming

Image Image Image Image Image 5
Comments
3 min read
Garbage Collection

Garbage Collection

Image 1
Comments
3 min read
Implementing Vector Search in Python

Implementing Vector Search in Python

Comments
4 min read
Divide & Conquer (Grokking Algorithms)

Divide & Conquer (Grokking Algorithms)

Image 2
Comments
2 min read
DAY 89 - Kadane's Algorithm

DAY 89 - Kadane's Algorithm

Image Image Image 3
Comments
4 min read
A New Horizon in Data Compression: Matchmaking Run-Length Algorithm

A New Horizon in Data Compression: Matchmaking Run-Length Algorithm

Image 1
Comments
3 min read
Fibonacci Sequence Computation in Go Programming Language

Fibonacci Sequence Computation in Go Programming Language

Image 1
Comments 2
4 min read
DAY 91 - 51. N-Queens

DAY 91 - 51. N-Queens

Comments
3 min read
Length of Last Word in TypeScript

Length of Last Word in TypeScript

Comments
2 min read
Understanding Tree: Features, Time Complexity, Difference between BFS and DFS

Understanding Tree: Features, Time Complexity, Difference between BFS and DFS

Image 1
Comments
6 min read
DAY 73 - 86. Partition List

DAY 73 - 86. Partition List

Comments
2 min read
Data Structures and Algorithms: Big O Notation

Data Structures and Algorithms: Big O Notation

Image Image Image 5
Comments
3 min read
Interview Problems: Minimum Number of Groups

Interview Problems: Minimum Number of Groups

Comments
3 min read
Pattern Matching Using Knuth–Morris–Pratt (KMP) Algorithm

Pattern Matching Using Knuth–Morris–Pratt (KMP) Algorithm

Image 2
Comments 1
5 min read
A new lightweight lossless compression scheme

A new lightweight lossless compression scheme

Image 3
Comments 1
3 min read
Merge Strings Alternately

Merge Strings Alternately

Image Image Image 3
Comments
3 min read
DAY 78 - Finding Kth Missing Positive Integer

DAY 78 - Finding Kth Missing Positive Integer

Comments
2 min read
Book Club: Grokking Algorithms. 5: Dijkstra's algorithm, greedy algorithms

Book Club: Grokking Algorithms. 5: Dijkstra's algorithm, greedy algorithms

Image Image Image Image 9
Comments 2
3 min read
Data structures and algorithms in depth: C++, Swift, Python, Java, C#, JavaScript.

Data structures and algorithms in depth: C++, Swift, Python, Java, C#, JavaScript.

Image Image Image Image Image 11
Comments
30 min read
Doubly Linked List Implementation in Ruby

Doubly Linked List Implementation in Ruby

Image Image Image Image 9
Comments
6 min read
Computing the 10,000th Fibonacci number in less than a second. Unveiling the Secrets of Giant Numbers: Building Your Own BigInt

Computing the 10,000th Fibonacci number in less than a second. Unveiling the Secrets of Giant Numbers: Building Your Own BigInt

Image Image Image Image 11
Comments
6 min read
Building a simple but advanced Jsonic language using Python

Building a simple but advanced Jsonic language using Python

Image 1
Comments
12 min read
✅ Algorithm Correctness haqida

✅ Algorithm Correctness haqida

Image Image Image 3
Comments
4 min read
DAY 75 - 875. Koko Eating Bananas

DAY 75 - 875. Koko Eating Bananas

Comments
3 min read
Computer Science 4 Newbies - Understanding Binary Search

Computer Science 4 Newbies - Understanding Binary Search

Image Image Image Image 12
Comments 3
3 min read
Failing The Google Coding Interview: A Learning Story

Failing The Google Coding Interview: A Learning Story

Image Image 4
Comments 6
3 min read
How I Learned to Code with Harvard's CS50: A Detailed Roadmap

How I Learned to Code with Harvard's CS50: A Detailed Roadmap

Comments
4 min read
Branchless programming in Dart?

Branchless programming in Dart?

Image Image Image Image 13
Comments 3
2 min read
DAY 67 - 231. Power of Two

DAY 67 - 231. Power of Two

Image Image Image Image 6
Comments
3 min read
LeetCode, Hard: 2818. Apply Operations to Maximize Score. Swift

LeetCode, Hard: 2818. Apply Operations to Maximize Score. Swift

Image Image Image Image Image 6
Comments
5 min read
Random Cut Forests

Random Cut Forests

Image Image Image Image 11
Comments
5 min read
DAY 76 - Minimum Number of days to make m bouquets.

DAY 76 - Minimum Number of days to make m bouquets.

Comments
3 min read
Time Period Library for .NET

Time Period Library for .NET

Image Image 2
Comments
27 min read
🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

Image Image Image Image Image 14
Comments
4 min read
Complexidade de Tempo dos Algoritmos

Complexidade de Tempo dos Algoritmos

Image Image Image Image Image 17
Comments
6 min read
Building an Efficient MinStack in JavaScript🚀

Building an Efficient MinStack in JavaScript🚀

Image Image Image Image 11
Comments
3 min read
🧩 Mastering Insert Interval: Your Guide to Tackling a Blind 75 LeetCode Problem 🧩

🧩 Mastering Insert Interval: Your Guide to Tackling a Blind 75 LeetCode Problem 🧩

Image Image Image Image Image 11
Comments
3 min read
Exploring Cutting-Edge Algorithms: A Dive into Technical Details

Exploring Cutting-Edge Algorithms: A Dive into Technical Details

Comments
3 min read
A Tale of Two Pointers: How Linked Lists Work 🖇️

A Tale of Two Pointers: How Linked Lists Work 🖇️

Image 1
Comments
4 min read
DAY 72- 215. Kth Largest Element in an Array

DAY 72- 215. Kth Largest Element in an Array

Image Image Image Image 9
Comments
2 min read
LeetCode, Hard, last two problems: 2809. Min Time to Make Array Sum At Most x & 2813. Max Elegance of a K-Length Subseq.

LeetCode, Hard, last two problems: 2809. Min Time to Make Array Sum At Most x & 2813. Max Elegance of a K-Length Subseq.

Image Image Image Image Image 7
Comments 2
4 min read
Circle drawing algorithm in C

Circle drawing algorithm in C

Image Image Image Image 14
Comments
4 min read
🚀 Cracking the Majority Element Dilemma: A Journey into Linear Time & Space Optimization! 🚀

🚀 Cracking the Majority Element Dilemma: A Journey into Linear Time & Space Optimization! 🚀

Image Image Image Image Image 11
Comments
2 min read
Valid Anagram - LeetCode Java Solution

Valid Anagram - LeetCode Java Solution

Image Image Image Image Image 15
Comments
7 min read
Product of Array Except Self - LeetCode Java Solution

Product of Array Except Self - LeetCode Java Solution

Image Image Image Image Image 14
Comments
6 min read
Two Sum — LeetCode Java Solution

Two Sum — LeetCode Java Solution

Image Image Image Image Image 15
Comments
5 min read
Contains Duplicate - LeetCode Java Solution

Contains Duplicate - LeetCode Java Solution

Image Image Image Image Image 12
Comments
7 min read
TCP Connections in C: A Socket Programming Guide

TCP Connections in C: A Socket Programming Guide

Image 2
Comments
4 min read
SL Classification using Python and R

SL Classification using Python and R

Image Image Image 8
Comments 2
6 min read
DAY 66 - Two Sum IV - Input is a BST

DAY 66 - Two Sum IV - Input is a BST

Image Image Image Image 7
Comments
3 min read
DAY 65 - Kth Smallest Element in a BST

DAY 65 - Kth Smallest Element in a BST

Image Image Image 9
Comments
3 min read
Supervised Learning

Supervised Learning

Image Image Image Image 15
Comments
7 min read
How to Implement Custom JSON Utility Procedures With Memgraph MAGE and Python

How to Implement Custom JSON Utility Procedures With Memgraph MAGE and Python

Comments
5 min read
DAY 64 - SUBARRAYS AND OR PROBLEM

DAY 64 - SUBARRAYS AND OR PROBLEM

Image Image Image Image 7
Comments
4 min read
LeetCode 2532 (Hard++, Extra Category, Amazon). Time to Cross a Bridge.

LeetCode 2532 (Hard++, Extra Category, Amazon). Time to Cross a Bridge.

Image Image Image Image Image 10
Comments 4
6 min read
Data Structures - Part 1: Everything You Need to Know About Arrays

Data Structures - Part 1: Everything You Need to Know About Arrays

Image Image Image Image Image 11
Comments
8 min read
DAY 62 - Flatten a Binary Tree into a linked list

DAY 62 - Flatten a Binary Tree into a linked list

Image Image Image 3
Comments
3 min read
Implementing a hash table with separate chaining for collisions resolution

Implementing a hash table with separate chaining for collisions resolution

Comments
22 min read
LeetCode 2801 (Hard, Acceptance Level 14.5%). Count Stepping Numbers in Range. DP. Efficiently handles large inputs (10^9 + 7).

LeetCode 2801 (Hard, Acceptance Level 14.5%). Count Stepping Numbers in Range. DP. Efficiently handles large inputs (10^9 + 7).

Image Image Image Image Image 7
Comments 2
4 min read
DAY 56 - Binary Tree Questions(I)

DAY 56 - Binary Tree Questions(I)

Comments
3 min read
loading...