Schensted Algorithm

From dankwiki