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.
Divide & Conquer (Grokking Algorithms)

Divide & Conquer (Grokking Algorithms)

2
Comments
2 min read
DAY 87 - 2483. Minimum Penalty for a Shop

DAY 87 - 2483. Minimum Penalty for a Shop

Comments
2 min read
Top 5 Compelling Reasons Why DSA Should Matter to You

Top 5 Compelling Reasons Why DSA Should Matter to You

1
Comments
3 min read
Create Artistic Sketches from Photos using Python

Create Artistic Sketches from Photos using Python

Comments
1 min read
DAY 83 - MATRIX MEDIAN

DAY 83 - MATRIX MEDIAN

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

Failing The Google Coding Interview: A Learning Story

6
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

19
Comments
4 min read
Length of Last Word in TypeScript

Length of Last Word in TypeScript

Comments
2 min read
Mastering Problem-Solving: A 5-Step Approach for Coding Success

Mastering Problem-Solving: A 5-Step Approach for Coding Success

Comments
5 min read
Branchless programming in Dart?

Branchless programming in Dart?

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

DAY 78 - Finding Kth Missing Positive Integer

Comments
2 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
Complexidade de Tempo dos Algoritmos

Complexidade de Tempo dos Algoritmos

57
Comments 3
6 min read
Time Period Library for .NET

Time Period Library for .NET

4
Comments
27 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
🎯 300+ LeetCode Problems are solved: What I Discovered! 💡

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

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

DAY 75 - 875. Koko Eating Bananas

Comments
3 min read
DAY 74 - 239. Sliding Window Maximum

DAY 74 - 239. Sliding Window Maximum

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

Data Structures and Algorithms: Big O Notation

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

DAY 73 - 86. Partition List

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

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

Computer Science 4 Newbies - Understanding Binary Search

5
Comments 3
3 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
Demystifying Data Structures and Algorithms: An in-depth analysis

Demystifying Data Structures and Algorithms: An in-depth analysis

Comments
3 min read
DAY 70 - Find the Difference

DAY 70 - Find the Difference

Comments
2 min read
Circle drawing algorithm in C

Circle drawing algorithm in C

3
Comments
4 min read
Memory-Efficient 2D Array Creation for Lower Triangle Matrices

Memory-Efficient 2D Array Creation for Lower Triangle Matrices

Comments
2 min read
String copy in C

String copy in C

1
Comments
3 min read
Bit banging exercise in C

Bit banging exercise in C

Comments
4 min read
Rectangular array copy in C

Rectangular array copy in C

Comments
3 min read
Array Ops in Depth 🎰

Array Ops in Depth 🎰

Comments
3 min read
Valid Anagram - LeetCode Java Solution

Valid Anagram - LeetCode Java Solution

9
Comments
7 min read
DAY 69 - Number of 1 Bits

DAY 69 - Number of 1 Bits

Comments
2 min read
Merge Strings Alternately

Merge Strings Alternately

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

Product of Array Except Self - LeetCode Java Solution

7
Comments
6 min read
Two Sum — LeetCode Java Solution

Two Sum — LeetCode Java Solution

8
Comments
5 min read
Contains Duplicate - LeetCode Java Solution

Contains Duplicate - LeetCode Java Solution

5
Comments
7 min read
DAY 68 - Single Number I

DAY 68 - Single Number I

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

TCP Connections in C: A Socket Programming Guide

10
Comments
4 min read
SL Classification using Python and R

SL Classification using Python and R

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

DAY 67 - 231. Power of Two

1
Comments
3 min read
Doubly Linked List Implementation in Ruby

Doubly Linked List Implementation in Ruby

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

DAY 66 - Two Sum IV - Input is a BST

1
Comments
3 min read
âś… Algorithm Correctness haqida

âś… Algorithm Correctness haqida

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

DAY 65 - Kth Smallest Element in a BST

2
Comments
3 min read
Random Cut Forests

Random Cut Forests

4
Comments
5 min read
Supervised Learning

Supervised Learning

5
Comments
7 min read
DAY 64 - SUBARRAYS AND OR PROBLEM

DAY 64 - SUBARRAYS AND OR PROBLEM

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

7
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

9
Comments 1
8 min read
DAY 63 - Unique Binary Search Trees II

DAY 63 - Unique Binary Search Trees II

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

DAY 62 - Flatten a Binary Tree into a linked list

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
DAY 61 - Serialize and Deserialize Binary Tree

DAY 61 - Serialize and Deserialize Binary Tree

Comments
4 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 57 - Binary Tree Maximum Path Sum

DAY 57 - Binary Tree Maximum Path Sum

Comments
3 min read
DAY 56 - Binary Tree Questions(I)

DAY 56 - Binary Tree Questions(I)

Comments
3 min read
loading...