two coding question
first one is similar find two sum that equal to k, if two value is same, return two lower index , if there exist many ans, return the largest value one
second question is similar to https://leetcode.com/discuss/interview-question/823550/amazon-oa-2020-optimize-memory-usage
did not change a lot, they update some input I think.