LiveRamp Interview Question

How to implement a stack?