LiveRamp interview question

How to implement a stack?