From last week, the course materials began to concentrate to the sort method, figure out the upper and lower bound for each sort method. After attending the tutorial on Monday, I know how to deal with this kind of problem now. N is supposed to be a product of 2 or 3, so we can rewrite the function and unwind it for a more clear version rather than a recursive method.
没有评论:
发表评论