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

Largest K Elements (Medium)

Given an array and a positive integer $k$, find the $k$ largest elements in the array. The results do not need to be in any specific order.

View Puzzle →


Find First and Last Position of an Element in a Sorted Array (Medium)

Given an array of numbers sorted in non-decreasing order, find the first and last position of a target value in the array. If the target is not found, return [-1, -1].

View Puzzle →

See all coding puzzles →


Featured Algorithm Patterns

Queue

A queue is a first-in first-out (FIFO) 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 →