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 Number of Palindromic Substrings in a String (Medium)

Given a string, return the number of palindromic substrings in the string.

View Puzzle →


Largest Concatenated Number From Array (Medium)

Given an array of numbers, rearrange the array so that if the numbers were joined according to their position, they form the largest possible number.

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 →


Binary Search

A binary search is a DFS algorithm on a sorted data structure. However, binary search is limited to traversal through one path of the data structure and will not traverse multiple paths. A binary search splits the data down the middle and evaluates some target against the middle element. If the middle element is "less than" the target, then the target must be in the latter half of the data structure (if the data is sorted in increasing order). If the middle element is "greater than" the target, then the target must be in the earlier half of the data structure. If the middle element is "equal to" the target, then the search stops.

View Pattern →

See all patterns →