NovaSignal Interview Question

2d dynamic programming design stack and queues