ZT Systems interview question

They asked leetcode question two-sum