Lily Wang, University of Waterloo
A classical problem asks us to find, for each element $A[i]$ of an array of integers, the position of the nearest smallest element. Similarly, we can ask about the dual problem: for each element of an array of integers $A[i]$, what is the position of the furthest smaller element?
In our paper, we discussed both these problems from a combinatorial perspective and considered algorithms to solve them. By examining results of permutations of distinct integers and behaviour of the algorithms, we find many classical combinatorial sequences such as the Stirling numbers, the Catalan numbers, the Bell numbers, and the harmonic numbers.
200 University Avenue West
Waterloo, ON N2L 3G1