Tag: queue
5 posts
-
Background Jobs with Bull and Redis: Retries, Priorities, Delays and Cron Jobs
Running background jobs in Node.js with Bull: job processing, retries, priorities, delayed and repeatable jobs, progress events, and building a reliable Redis-backed queue.
-
Data Structures for Beginners: Arrays, Lists, Stacks, Queues, Trees and Graphs Compared
An introduction to data structures: arrays, linked lists, stacks, queues, trees and graphs, their time complexities, and how to pick one for a real problem.
-
C++ stack, queue and priority_queue: How the Adapters Work and the Mistakes They Invite
std::stack, std::queue and std::priority_queue explained: why pop() returns void, choosing the underlying container, min-heaps and custom comparators, Dijkstra, BFS bugs, and thread safety.
-
Stacks and Queues in Interviews: LIFO/FIFO Patterns, Monotonic Stacks and Deques
Stacks and queues for coding interviews: LIFO and FIFO behavior, the problem patterns they solve (bracket matching, BFS, monotonic stacks), and the mistakes that cost points.
-
The Command Pattern in C++: Undo/Redo, Macros, Transactions and When It Is Overkill
The Command pattern in C++: turning requests into objects for undo/redo, macros, transactions, queues, and GUI or game input, plus when the pattern is overkill.