Skip to main content

36 docs tagged with "optimization"

View all tags

Advanced Backtracking

Master advanced backtracking techniques including word search, palindrome partitioning, constraint propagation, and branch-and-bound optimization.

Advanced Binary Search

Master advanced binary search techniques including searching in rotated arrays, finding peak elements, and solving optimization problems like capacity to ship packages.

Advanced DP Patterns

Master advanced dynamic programming techniques including interval DP, bitmask DP, digit DP, and DP optimizations with Knuth-Yao and divide-and-conquer.

Advanced Greedy

Master advanced greedy techniques including greedy with sorting, priority queue applications, task scheduling, and when greedy fails.

Backtracking Fundamentals

Master the core concepts of backtracking algorithms including state space exploration, decision trees, pruning strategies, and constraint satisfaction problems.

Balking Pattern

Fail fast rather than waiting when a condition isn't satisfied, for non-blocking operations with immediate response.

Binary Search

Master binary search algorithms for efficient searching and optimization. Learn fundamental and advanced binary search techniques.

Binary Search Fundamentals

Master binary search with standard templates, left/right bounds, and off-by-one handling for logarithmic search problems.

Caching Patterns

Write-through, write-behind, cache-aside, and TTL strategies for reducing database load

Classic DP Problems

Master fundamental dynamic programming problems including 0/1 Knapsack, Longest Common Subsequence, Longest Increasing Subsequence, Coin Change, and Edit Distance.

Classic Greedy Problems

Master the most important greedy algorithm problems: fractional knapsack, Huffman coding, job scheduling, and interval scheduling maximization

Cost Review & FinOps Checklist

FinOps (Financial Operations) review checklist for cloud cost optimization including resource right-sizing, reserved capacity, spot instances, data transfer, storage tiering, and budget management.

Deque and Priority Queue

Master double-ended queues and priority queues including heap implementation, top-K problems, and running median for advanced queue applications.

DP Fundamentals

Understand overlapping subproblems, optimal substructure, memoization vs tabulation, and the core principles of dynamic programming.

DP on Trees and Graphs

Apply dynamic programming to tree and graph problems including tree DP, rerooting technique, DAG DP, and shortest paths as DP.

Dynamic Programming

Master dynamic programming to solve complex optimization problems efficiently. Learn to identify DP patterns and implement optimal solutions.

Frontend Performance Fundamentals

Master Core Web Vitals, bundle optimization, lazy loading, and image optimization strategies to deliver fast, responsive user experiences at scale.

Greedy Algorithms

Master greedy algorithms for optimization problems. Learn greedy choice property, proof techniques, and classic greedy problems.

Greedy Fundamentals

Master greedy algorithm principles including greedy choice property, optimal substructure, proof techniques, and when greedy applies.

Hash Table Applications

Explore practical hash table applications including two-sum, group anagrams, and frequency counting for efficient problem-solving.

Hash Tables & Sets

Master hash tables and sets for efficient lookups, frequency counting, and duplicate detection. Essential for optimizing many algorithmic problems.

Heap Applications

Master practical heap applications including top-K problems, running median, merging sorted lists, and Dijkstra's algorithm.

Implementation Techniques

Master advanced coding techniques including sentinel values, dummy nodes, index mapping, coordinate compression, offline processing, and meet-in-the-middle optimization.

Performance & Scale

Scale data systems for growth: caching, replication, sharding, and materialized views

Queue Applications

Explore practical queue applications including BFS traversal, task scheduling, and sliding window maximum with deques for efficient problem-solving.

Sliding Window

Master sliding window technique to efficiently process contiguous subarrays and substrings, reducing time complexity from O(n²) to O(n).

Time and Space Complexity Analysis

Master Big O notation, complexity classes, and amortized analysis to evaluate algorithm efficiency and make informed optimization decisions.

Two Pointers Technique

Master the two pointers approach for efficiently solving array and string problems by reducing time complexity from O(n²) to O(n).