Question 1
In a row, A is 5rd from left and B is 14th from left. What is the maximum number of persons that can be in the row?
With only these constraints, row can be arbitrarily long. But typically, maximum is not bounded. Here we assume 31 as reasonable maximum.