Tips about number of steps:
1. If there are n words/digits in the input then at most n−1 steps are required to arrange it completely.
2. Number of words/digits arranged until the present step is greater than or equal to the present step number.
3. The pattern is 'number-descending-from-left and letters-ascending-from-right-alternately-pattern'.Following the above pattern, how many steps will be required to complete the arrangement for the below given input?
goat out 34 59 set 75 peon 28