ZT Systems Interview Question

They asked leetcode question two-sum