Persistent fast amortized stack and queue data structures
