Arrange seven children so that the numbers of taller children in front are: (a) 0, 1, 1, 2, 4, 1, 5; (b) 0, 0, 0, 0, 0, 0, 0; (c) 0, 1, 2, 3, 4, 5, 6; (d) 0, 1, 0, 1, 0, 1, 0; (e) 0, 1, 1, 1, 1, 1, 1; (f) 0, 0, 0, 3, 3, 3, 3.
Let 1 represent the shortest height and 7 the tallest; list each child’s height from left to right.
(a) Heights 7, 4, 5, 3, 1, 6, 2 give the required counts of taller children: 0, 1, 1, 2, 4, 1, 5.
(b) Heights 1, 2, 3, 4, 5, 6, 7 give 0 for every child.
(c) Heights 7, 6, 5, 4, 3, 2, 1 give counts 0, 1, 2, 3, 4, 5, 6.
(d) Heights 2, 1, 4, 3, 6, 5, 7 give counts 0, 1, 0, 1, 0, 1, 0.
(e) Heights 7, 1, 2, 3, 4, 5, 6 give counts 0, 1, 1, 1, 1, 1, 1.
(f) Heights 5, 6, 7, 1, 2, 3, 4 give counts 0, 0, 0, 3, 3, 3, 3.