BlazeSoft Interview Question

Two sum algorithm question. Can be found in Leetcode.