Engineering

Tail Amplification

Tail amplification is a statistical phenomenon observed in process or operation fanout in software and other systems. A single request that fans out to multiple requests to downstream services amplifies the probability of sampling a tail probability that is disproportionate to the sampling rate.

Read more →


Featured Coding Puzzles

Find K Closest Elements (Medium)

Given an array of positive integers and a target integer, return the $k$ elements closest to the target. Assume that all integers in the array are unique.

View Puzzle →


Letter Combinations of a Phone Number (Medium)

Given a number, return all the different letter combinations that can be made from that number using the number mapping on a numeric phone pad:

View Puzzle →

See all coding puzzles →


Featured Algorithm Patterns

Stack

A stack is a last-in first-out (LIFO) data structure that is used for various DSA (data structures & algorithms) problems.

View Pattern →


Heap

A heap is a tree-like data structure that satisfies the heap property, which states that for a min (max) heap, for every element $E$, if $P$ is a parent of the element, then $P$ is less (greater) than $E$.

View Pattern →

See all patterns →