Pergunta de entrevista da empresa Amazon

Stack-based, sets and hashmap based and one design