Pergunta de entrevista da empresa Tata Consultancy Services

2 sum, binary tree, common prefix