Latest articles
5 articles in the current browsing window, ordered by publication date.
This article explains how Spring Task and Quartz achieve timed job execution by using a DelayedWorkQueue backed by a binary min‑heap, detailing the scheduling flow, task ordering, and core heap operations with illustrative code examples.

This article explains a divide‑and‑conquer method that splits massive search‑log files, uses multithreaded hashing to count keyword frequencies, and applies a min‑heap to efficiently retrieve the top‑100 most frequent search terms for SEO and recommendation tasks.

This article explains the concepts of binary trees, complete binary trees, and binary heaps, shows how React implements a min‑heap for its task scheduler, and provides detailed JavaScript code examples for push, pop, siftUp, siftDown, and peek operations.

The article explains how replacing a sorting‑based Go cron scheduler with a min‑heap implementation reduced CPU consumption from about 50% to 10%, achieving a four‑to‑five‑fold performance boost while handling high‑throughput timed tasks.

Learn four practical approaches to locate the k‑th largest element in an unsorted array—including sorting, insertion, min‑heap, and divide‑and‑conquer techniques—complete with step‑by‑step explanations, complexity analysis, and a full Java implementation for algorithmic interview preparation.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.