Implement lexicographically smallest Two Sum | Walmart Labs Interview Question