LeetCode Basic algorithm of data structure MaxProduct:Iterative method; PrimeNumber:exhaustive search,the Sieve of Eratosthenes; ReverseList:Recursion,iteration; SqrtX:Binary Search,Newton's method; TargetSum:two pointers method