Skip List: Design and Applications
6 min read A skip list is a probabilistic data structure that provides O(log n) average time for search, insertion, and deletion — […] Read article
// data-structures
Deep dive into essential data structures that every software engineer must master.
6 min read A skip list is a probabilistic data structure that provides O(log n) average time for search, insertion, and deletion — […] Read article
7 min read Grid Traversal Fundamentals Most matrix problems involve: (1) BFS from one or multiple source cells, (2) DFS to explore connected Read article
6 min read When to Use an Ordered Map (Sorted Dict / TreeMap) An ordered map maintains keys in sorted order with O(log Read article
10 min read Advanced Heap Interview Patterns Heaps appear in a surprising number of interview problems beyond the simple “find the Kth largest Read article
10 min read Sorting problems appear constantly in interviews – not just “implement merge sort” but as tools to simplify harder problems. Master Read article
10 min read Range query problems appear frequently in competitive programming and technical interviews. Knowing which data structure to reach for – and Read article
8 min read Implement a Rate Limiter: Token Bucket, Leaky Bucket, Sliding Window Rate limiting is one of the most-asked system-design topics in Read article
5 min read Parse Phone Numbers Without a Country Code: Heuristic Detection “Given a list of phone numbers in mixed formats, identify which Read article
6 min read Detect a Cycle in a Linked List: Floyd’s Algorithm and Cycle Entry Point Detecting a cycle in a linked list Read article
6 min read Missing or Duplicate Number in an Array: XOR, Sum, Cyclic Sort, and Floyd’s Algorithm Finding the missing number or the Read article
5 min read Probability Distribution Functions: PMF, PDF, CDF, and the Common Distributions Understanding probability distribution functions is foundational for quant trading interviews, Read article
6 min read Find the Depth (Height) of a Binary Tree: Recursive, Iterative BFS, and Iterative DFS Finding the depth (also called height Read article
6 min read Check If a Linked List Is a Palindrome: Stack, Reverse-Half, and Recursive Approaches Palindrome linked list (LeetCode #234) is a Read article
6 min read Producer-Consumer Problem: Bounded Buffer with Locks, Condition Variables, and Modern Approaches The producer-consumer problem is the canonical concurrency interview question. Read article
6 min read Serialize and Deserialize a Binary Tree: Preorder, Level-Order, and Edge Cases Serialize / deserialize a binary tree (LeetCode #297) is Read article
What's missing, wrong, or worth adding? One line helps.
Sent — thank you. We read every one.