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.
DAY 97 - Removing Elements from a Linked List

DAY 97 - Removing Elements from a Linked List

Comments
2 min read
Sorting numbers in Raku with the help of ChatGPT

Sorting numbers in Raku with the help of ChatGPT

Comments
2 min read
How to validate a Sudoku board

How to validate a Sudoku board

5
Comments
2 min read
Garbage Collection

Garbage Collection

1
Comments
3 min read
Divide & Conquer (Grokking Algorithms)

Divide & Conquer (Grokking Algorithms)

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

DAY 89 - Kadane's Algorithm

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

1
Comments
3 min read
Solving the "Longest Palindromic Substring" Problem on LeetCode

Solving the "Longest Palindromic Substring" Problem on LeetCode

5
Comments
3 min read
Fibonacci Sequence Computation in Go Programming Language

Fibonacci Sequence Computation in Go Programming Language

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

1
Comments
6 min read
Find Angle MBC - HackerRank Solution Python

Find Angle MBC - HackerRank Solution Python

2
Comments
2 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
Implementing Vector Search in Python

Implementing Vector Search in Python

Comments
4 min read
Time Delta - HackerRank Python Solution

Time Delta - HackerRank Python Solution

2
Comments
1 min read
Merge the Tools! - HackerRank Python Solution

Merge the Tools! - HackerRank Python Solution

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

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

A new lightweight lossless compression scheme

3
Comments 1
3 min read
Athlete Sort - HackerRank Solution in Python

Athlete Sort - HackerRank Solution in Python

2
Comments
2 min read
Hello, World! - HackerRank Python Solution

Hello, World! - HackerRank Python Solution

1
Comments
1 min read
Merge Strings Alternately

Merge Strings Alternately

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

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.

12
Comments
31 min read
Doubly Linked List Implementation in Ruby

Doubly Linked List Implementation in Ruby

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

11
Comments
6 min read
✅ Algorithm Correctness haqida

✅ Algorithm Correctness haqida

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

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

Failing The Google Coding Interview: A Learning Story

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?

13
Comments 3
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
Random Cut Forests

Random Cut Forests

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

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

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

14
Comments
4 min read
Complexidade de Tempo dos Algoritmos

Complexidade de Tempo dos Algoritmos

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

Building an Efficient MinStack in JavaScript🚀

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 🧩

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

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! 🚀

11
Comments
2 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 66 - Two Sum IV - Input is a BST

DAY 66 - Two Sum IV - Input is a BST

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

DAY 65 - Kth Smallest Element in a BST

8
Comments
3 min read
Supervised Learning

Supervised Learning

14
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
loading...