awangdev / leet-code

Java Solutions to problems on LintCode/LeetCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

two sum 344 第二种解法

zhangtao2005 opened this issue · comments

commented

//Find the num1,num2 in original array and record the index
这块,应该是
rst[0] = i ;
rst[1] = i;