2022年10月1日星期六

answers of two-sum in rust









The frist one is quite simple to understand and the second  logic is the using hashmap
to record the Difference between numbers in array and the target, and when the hashmap meet the difference,you find the answer。