Forem

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.
print desanding order {10,9,8,7,6,5,4,3,2,1}

print desanding order {10,9,8,7,6,5,4,3,2,1}

Comments
1 min read
Fibonacci series

Fibonacci series

Comments
1 min read
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
Cover image for 2929. Distribute Candies Among Children II

2929. Distribute Candies Among Children II

1
Comments
4 min read
909. Snakes and Ladders
Cover image for 909. Snakes and Ladders

909. Snakes and Ladders

Comments
5 min read
Bloom Filters: The Smartest Lie Your System Can Tell
Cover image for 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
Cover image for 2359. Find Closest Node to Given Two Nodes

2359. Find Closest Node to Given Two Nodes

Comments
4 min read
Designing a News Feed System: Facebook and Twitter Architecture

Designing a News Feed System: Facebook and Twitter Architecture

1
Comments
5 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
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
Cover image for 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
Cover image for Selection Sort Algorithm

Selection Sort Algorithm

Comments
2 min read
How to prove Gödel’s First Incompleteness Theorem using Typescript
Cover image for 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
Cover image for 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
Cover image for 🚦 Dijkstra's Algorithm Explained – A Beginner's Guide

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

32
Comments 14
2 min read
Graph In Java ☕
Cover image for Graph In Java ☕

Graph In Java ☕

2
Comments
13 min read
Leetcode 2099. Find Subsequence of Length K With the Largest Sum
Cover image for 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
HackTheSite Basic 6

HackTheSite Basic 6

Comments
1 min read
loading...