Pluralsight Interview Question

a Datastructure question on stack