Pergunta de entrevista da empresa Zepto (India)

1. DSA (deque based question, leetcode hard)