Binary Search Variants: Beyond Simple Lookup
Choose binary search for monotone predicates and ternary search for unimodal objectives. Learn lower bounds, rotated-array search, and termination invariants.
Choose binary search for monotone predicates and ternary search for unimodal objectives. Learn lower bounds, rotated-array search, and termination invariants.
Learn when greedy algorithms are correct, prove a choice with an exchange argument, and compare activity selection, Huffman coding, and knapsack.
Compare 0/1, unbounded, and fractional knapsack with dynamic programming solutions, loop-direction rules, memory estimates, and variant-specific examples.
Understand the two fundamental DP approaches—top-down with memoization and bottom-up with tabulation—plus hybrid techniques like the/m on the fly.
Understand how CI/CD systems interact with Git repositories. Learn about triggers, webhooks, shallow clones, pipeline optimization, and production patterns for Git-aware CI/CD.
Learn how Docker multi-stage builds separate build-time tools from runtime files, with practical guidance for caching, secrets, non-root containers, and image attestations.
A practical method for right-sizing cloud resources, evaluating commitments, tracking egress, and measuring cost per unit without relying on stale price tables.