It seems plausible that we could append queues in `O(min(m,n))` time rather than `O(m+n)` time. Can we append stacks faster too? Maybe `O(m)` time?