Tintri Interview Question

2 sum problem (different versions: normal unoptimized, time efficient, space efficient). Generally questions were easy.