Intel Corporation interview question

Leetcode types like 2 sum,etc