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.
Binary Search: Slice Your Search Time Like a Pro

Binary Search: Slice Your Search Time Like a Pro

Comments
2 min read
Find the Duplicate value in an array integer, not use collection

Find the Duplicate value in an array integer, not use collection

Comments
1 min read
Fibonacci series without third variable

Fibonacci series without third variable

Comments
1 min read
2929. Distribute Candies Among Children II

2929. Distribute Candies Among Children II

1
Comments
4 min read
909. Snakes and Ladders

909. Snakes and Ladders

Comments
5 min read
Bloom Filters: The Smartest Lie Your System Can Tell

Bloom Filters: The Smartest Lie Your System Can Tell

Comments
5 min read
Unorthodox journey towords data compression

Unorthodox journey towords data compression

Comments
2 min read
2359. Find Closest Node to Given Two Nodes

2359. Find Closest Node to Given Two Nodes

Comments
4 min read
Discovering JavaScript's Hidden Secrets: Understanding Sorting Algorithms.

Discovering JavaScript's Hidden Secrets: Understanding Sorting Algorithms.

Comments
4 min read
Discovering JavaScript's Hidden Secrets: Understanding Searching Algorithms.

Discovering JavaScript's Hidden Secrets: Understanding Searching Algorithms.

1
Comments
3 min read
Fraudulent activity problem from Hackerrank - sorting problems. Three different solutions. ( min-max heap, counting sort)

Fraudulent activity problem from Hackerrank - sorting problems. Three different solutions. ( min-max heap, counting sort)

Comments
9 min read
Array Manipulation Hackerrank problem analysis and solution optimization (prefix sum + difference array)

Array Manipulation Hackerrank problem analysis and solution optimization (prefix sum + difference array)

Comments
5 min read
3373. Maximize the Number of Target Nodes After Connecting Trees II

3373. Maximize the Number of Target Nodes After Connecting Trees II

Comments
5 min read
The Algorithm Doesn’t Hate You—Here’s What to Do Instead

The Algorithm Doesn’t Hate You—Here’s What to Do Instead

1
Comments
1 min read
LeetCode 705: Design HashSet

LeetCode 705: Design HashSet

2
Comments
10 min read
First post

First post

Comments
1 min read
3372. Maximize the Number of Target Nodes After Connecting Trees I

3372. Maximize the Number of Target Nodes After Connecting Trees I

Comments
5 min read
Direct Preference Optimization: Your Language Model is Secretly a Reward Model

Direct Preference Optimization: Your Language Model is Secretly a Reward Model

Comments
1 min read
Selection Sort Algorithm

Selection Sort Algorithm

Comments
2 min read
How to prove Gödel’s First Incompleteness Theorem using Typescript

How to prove Gödel’s First Incompleteness Theorem using Typescript

4
Comments
3 min read
2894. Divisible and Non-divisible Sums Difference

2894. Divisible and Non-divisible Sums Difference

Comments
3 min read
🚦 Dijkstra's Algorithm Explained – A Beginner's Guide

🚦 Dijkstra's Algorithm Explained – A Beginner's Guide

32
Comments 14
2 min read
1857. Largest Color Value in a Directed Graph

1857. Largest Color Value in a Directed Graph

1
Comments
4 min read
Graph In Java ☕

Graph In Java ☕

2
Comments
13 min read
Leetcode 2099. Find Subsequence of Length K With the Largest Sum

Leetcode 2099. Find Subsequence of Length K With the Largest Sum

5
Comments
2 min read
loading...