Insert Algorithm:

The Robinson Schensted Knuth corresponding Standard Young Tableaux may be computed by the Insert Algorithm. Here we consider the tables which encode a permutation π(q).

Begin with q = 1 and the empty tables P and Q.
(a) Set x = π(q), and insert x into table P as prescribed in (b), starting on the first row.
(b) Insert x into current row as follows:


Enter a valid permutation in word form to compute a new pair of tables.






Combinatorics M432, Dr. Yu, The College of William & Mary
April 2022 C. R. Schleif