算法课件Let1Introduction学习课件.pptVIP

  • 3
  • 0
  • 约8.4千字
  • 约 38页
  • 2016-12-06 发布于江苏
  • 举报
* What can you learn from this course? A list of algorithms. Learn their code. Trace them until you are convinced that they work. Implement them. Worry about details. class InsertionSortAlgorithm extends SortAlgorithm { void sort(int a[]) throws Exception { for (int i = 1; i a.length; i++) { int j = i; int B = a[i]; while ((j 0) (a[j-1] B)) { a[j] = a[j-1]; j--; } a[j] = B; }} * A survey of algorithmic design techniques. Abstract thinking. How to develop new algorithms for an

文档评论(0)

1亿VIP精品文档

相关文档