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.
A New Horizon in Data Compression: Matchmaking Run-Length Algorithm

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

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

Failing The Google Coding Interview: A Learning Story

2
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
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

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

5
Comments
3 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
Pattern Matching Using Knuth–Morris–Pratt (KMP) Algorithm

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

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

A new lightweight lossless compression scheme

3
Comments 1
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 🧩

11
Comments
3 min read
Merge Strings Alternately

Merge Strings Alternately

3
Comments
3 min read
Branchless programming in Dart?

Branchless programming in Dart?

11
Comments 1
2 min read
DAY 78 - Finding Kth Missing Positive Integer

DAY 78 - Finding Kth Missing Positive Integer

Comments
2 min read
Doubly Linked List Implementation in Ruby

Doubly Linked List Implementation in Ruby

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

Building a simple but advanced Jsonic language using Python

1
Comments
12 min read
✅ Algorithm Correctness haqida

✅ Algorithm Correctness haqida

3
Comments
4 min read
🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

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

9
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

12
Comments 3
3 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! 🚀

11
Comments
2 min read
DAY 67 - 231. Power of Two

DAY 67 - 231. Power of Two

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

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

6
Comments
5 min read
DAY 66 - Two Sum IV - Input is a BST

DAY 66 - Two Sum IV - Input is a BST

7
Comments
3 min read
Random Cut Forests

Random Cut Forests

11
Comments
5 min read
Time Period Library for .NET

Time Period Library for .NET

2
Comments
27 min read
Complexidade de Tempo dos Algoritmos

Complexidade de Tempo dos Algoritmos

16
Comments
6 min read
Building an Efficient MinStack in JavaScript🚀

Building an Efficient MinStack in JavaScript🚀

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 🖇️

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

DAY 72- 215. Kth Largest Element in an Array

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.

7
Comments 2
4 min read
Circle drawing algorithm in C

Circle drawing algorithm in C

13
Comments
4 min read
Valid Anagram - LeetCode Java Solution

Valid Anagram - LeetCode Java Solution

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

Product of Array Except Self - LeetCode Java Solution

14
Comments
6 min read
Two Sum — LeetCode Java Solution

Two Sum — LeetCode Java Solution

15
Comments
5 min read
Contains Duplicate - LeetCode Java Solution

Contains Duplicate - LeetCode Java Solution

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

TCP Connections in C: A Socket Programming Guide

2
Comments
4 min read
SL Classification using Python and R

SL Classification using Python and R

8
Comments 2
6 min read
DAY 65 - Kth Smallest Element in a BST

DAY 65 - Kth Smallest Element in a BST

9
Comments
3 min read
Supervised Learning

Supervised Learning

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

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.

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

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

DAY 62 - Flatten a Binary Tree into a linked list

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).

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

DAY 56 - Binary Tree Questions(I)

Comments
3 min read
Max Sum of Rectangle No Larger Than K

Max Sum of Rectangle No Larger Than K

Comments
6 min read
DAY 55 - Traversals in a Binary Tree Part 2

DAY 55 - Traversals in a Binary Tree Part 2

Comments
3 min read
Ruby Closures

Ruby Closures

3
Comments
2 min read
What is Base62 Conversion?

What is Base62 Conversion?

Comments 1
3 min read
Exploring Genetic Algorithms with Ruby

Exploring Genetic Algorithms with Ruby

35
Comments 10
3 min read
Unleash the Power of Newton's Method - The World's Fastest Square Root Algorithm

Unleash the Power of Newton's Method - The World's Fastest Square Root Algorithm

Comments
5 min read
Merge Sort

Merge Sort

1
Comments 2
1 min read
How to deliver the best search results: inside a full text search engine

How to deliver the best search results: inside a full text search engine

2
Comments
10 min read
DAY 51 - Power of a Number n

DAY 51 - Power of a Number n

Comments
2 min read
Book Club: Grokking Algorithms. 4: Quicksort, Hash tables, and Breadth-first search

Book Club: Grokking Algorithms. 4: Quicksort, Hash tables, and Breadth-first search

3
Comments
5 min read
Understanding the Binary Search Algorithm: A Step-by-Step Guide with Python Example

Understanding the Binary Search Algorithm: A Step-by-Step Guide with Python Example

Comments
2 min read
loading...