DEV Community

#dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Topological Sort: Kahn Algorithm vs Post-Order DFS for Dependency Resolution

Topological Sort: Kahn Algorithm vs Post-Order DFS for Dependency Resolution

Comments
4 min read
Graph Traversal Patterns: BFS vs DFS with Cycle Detection in Directed and Undirected Graphs

Graph Traversal Patterns: BFS vs DFS with Cycle Detection in Directed and Undirected Graphs

Comments
4 min read
Binary Search Beyond Arrays: Searching on the Answer Space

Binary Search Beyond Arrays: Searching on the Answer Space

Comments
4 min read
Top K Frequent Elements

Top K Frequent Elements

1
Comments
2 min read
LeetCode #198. House Robber

LeetCode #198. House Robber

Comments
3 min read
The LeetCode Problem Anatomy

The LeetCode Problem Anatomy

Comments
5 min read
Logarithms vs Exponentials: The Simple Idea Behind O(log n) and O(2ⁿ)

Logarithms vs Exponentials: The Simple Idea Behind O(log n) and O(2ⁿ)

2
Comments
3 min read
DSA: Topic 3: Two Pointers

DSA: Topic 3: Two Pointers

Comments
3 min read
Mastering Monotonic Stacks: Next Greater Element and Histogram Problems

Mastering Monotonic Stacks: Next Greater Element and Histogram Problems

Comments
4 min read
Two Pointers in Practice: Opposite Direction vs Fast and Slow Pointers

Two Pointers in Practice: Opposite Direction vs Fast and Slow Pointers

Comments
4 min read
The Sliding Window Technique: Solving Subarray and Substring Problems in O(N)

The Sliding Window Technique: Solving Subarray and Substring Problems in O(N)

Comments
4 min read
Java Collections Deep Dive: HashMap Internal Working and Collision Resolution

Java Collections Deep Dive: HashMap Internal Working and Collision Resolution

1
Comments
5 min read
Java 8 Streams vs Traditional Loops: Performance, Readability, and Lazy Evaluation

Java 8 Streams vs Traditional Loops: Performance, Readability, and Lazy Evaluation

Comments
4 min read
7 DSA Patterns That Show Up in Almost Every Coding Interview

7 DSA Patterns That Show Up in Almost Every Coding Interview

Comments
3 min read
Expand Around Center — A Simple DSA Pattern

Expand Around Center — A Simple DSA Pattern

Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.