DEV Community

# datastructures

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Boyer–Moore Majority Voting: Why It Works, Why It Fails, and Where It Actually Belongs

Boyer–Moore Majority Voting: Why It Works, Why It Fails, and Where It Actually Belongs

Comments
4 min read
LeetCode DSA Series #4: 217. Contains Duplicate

LeetCode DSA Series #4: 217. Contains Duplicate

Comments
1 min read
LeetCode DSA Series #3: 202. Happy Number

LeetCode DSA Series #3: 202. Happy Number

Comments
1 min read
Heapify Down: How to Trace Each Swap Without Getting Lost

Heapify Down: How to Trace Each Swap Without Getting Lost

Comments
4 min read
LeetCode DSA Series #2: 125. Valid Palindrome

LeetCode DSA Series #2: 125. Valid Palindrome

Comments
1 min read
Minimum Rounds to Complete All Tasks

Minimum Rounds to Complete All Tasks

2
Comments
2 min read
Delete a Node in a Binary Search Tree (BST)

Delete a Node in a Binary Search Tree (BST)

Comments
3 min read
Why Greedy Can Feel Unintuitive (and How I’m Making Sense of It)

Why Greedy Can Feel Unintuitive (and How I’m Making Sense of It)

Comments
3 min read
Day 6: Structs in C: Organizing Data without Classes

Day 6: Structs in C: Organizing Data without Classes

Comments 1
1 min read
Day 79: Python Deep Copy Graph – HashMap-Based Cloning for Cycles and Shared Nodes (LeetCode #133 Style)

Day 79: Python Deep Copy Graph – HashMap-Based Cloning for Cycles and Shared Nodes (LeetCode #133 Style)

Comments
3 min read
Day 78: Python Move Zeros to End – O(n) In-Place Two-Pointer Technique for Array Reordering (LeetCode #283 Guide)

Day 78: Python Move Zeros to End – O(n) In-Place Two-Pointer Technique for Array Reordering (LeetCode #283 Guide)

Comments
2 min read
Day 80: Python Search in Rotated Sorted rArray - Final Challenge O(log n) Binary Search Mastery (LeetCode #33 Vibes)

Day 80: Python Search in Rotated Sorted rArray - Final Challenge O(log n) Binary Search Mastery (LeetCode #33 Vibes)

Comments
3 min read
LeetCode DSA Series #1: 191. Number of 1 Bits

LeetCode DSA Series #1: 191. Number of 1 Bits

Comments
1 min read
I'm Still Grinding LeetCode and These 8 Advanced Patterns Changed Everything 🚀

I'm Still Grinding LeetCode and These 8 Advanced Patterns Changed Everything 🚀

5
Comments
34 min read
Cyclic Sort Made Simple: Learn the Basics and How It Works

Cyclic Sort Made Simple: Learn the Basics and How It Works

2
Comments
4 min read
Understanding Array Traversal Patterns in JavaScript

Understanding Array Traversal Patterns in JavaScript

1
Comments 1
6 min read
That One Python List Bug That Wasted My Time 😅

That One Python List Bug That Wasted My Time 😅

Comments
2 min read
Day 75: Python Counting Sort by Zeros – Stable O(n) Custom Key Sort for Digit Counts (Algo Mastery)

Day 75: Python Counting Sort by Zeros – Stable O(n) Custom Key Sort for Digit Counts (Algo Mastery)

Comments
2 min read
Day 72: Python Sliding Window Maximum - Deque O(n) Solution for Efficient Max Tracking (LeetCode #239 Guide)

Day 72: Python Sliding Window Maximum - Deque O(n) Solution for Efficient Max Tracking (LeetCode #239 Guide)

Comments
2 min read
A Guide to Fibonacci Series and Recursion in Go Language

A Guide to Fibonacci Series and Recursion in Go Language

Comments 4
3 min read
Linked Lists Joins the Fray! (JavaScript)

Linked Lists Joins the Fray! (JavaScript)

Comments
9 min read
Sliding Window Maximum: The Monotonic Queue Trick Explained

Sliding Window Maximum: The Monotonic Queue Trick Explained

Comments
4 min read
How to Know When to Use a Hash Map in Coding Interviews: A Pattern Recognition Guide

How to Know When to Use a Hash Map in Coding Interviews: A Pattern Recognition Guide

Comments
10 min read
Using CuCollections Nvidia Data Structures Library

Using CuCollections Nvidia Data Structures Library

Comments
1 min read
What Most Swift Developers Miss About Data Structures

What Most Swift Developers Miss About Data Structures

5
Comments
2 min read
loading...