Symmetric groups · tableaux
The RSK correspondence
Insert the numbers of a permutation one at a time into a tableau P: each number goes at the end of the first row unless something larger is there, in which case it takes that place and the larger number moves down a row. The tableau Q records where each new box appeared.