Pergunta de entrevista da empresa ThoughtSpot

Versioning using stacks and solve get version with O(1) complexity