Find the number of functions $f$ from $\{0, 1, 2, 3, 4, 5, 6, 7\}$ to the integers such that $f(0) = 0$, $f(7) = 11$, and \[|x - y| \leq |f(x) - f(y)| \leq 3|x - y|\] for all $x$ and $y$ in $\{0, 1, 2, 3, 4, 5, 6, 7\}$.
As in the original problem, consecutive differences $f(k+1)-f(k)$ lie in $\{\pm1,\pm2,\pm3\}$, a negative step must be balanced appropriately, and the full condition must hold for all pairs.
Enumerating the sequences of seven steps summing to $11$ that satisfy all pair conditions (by computer) gives $328$.