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

Copy Linked List with Arbitrary Pointer (Medium)

Given a linked list where each node contains a next pointer and an arbitrary pointer to any other node, write a function to deep copy the linked list.

View Puzzle →


Add Two Linked Lists Representing Numbers (Medium)

Given 2 non-empty linked lists representing two non-negative integers, with the digits in reverse order (the $10^0$ elements being first, then the $10^1$ and then $10^2$, ...), add the two numbers and return the sum as a linked list.

View Puzzle →

See all coding puzzles →


Featured Algorithm Patterns

Sliding Window Technique

The sliding window technique is a way to solve certain problems that require inspecting some iterable over a fixed or variable length.

View Pattern →


Divide and Conquer Algorithms

A divide and conquer algorithm solves a problem by breaking the problem down into smaller sub-problems and then combining the results.

View Pattern →

See all patterns →