design and analysis of algorithms-凯发k8官网下载客户端

课程简介 course introduction
although there is no universally agreed-on wording to describe this notion, there is general agreement about what the concept means:
an algorithm is a sequence of unambiguous instructions for solving a problem, i.e., for obtaining a required output for any legitimate input in a finite amount of time.

we can consider algorithms to be procedural solutions to problems.

an input to an algorithm specifies an instance of the problem the algorithm solves. it is very important to specify exactly the set of instances the algorithm needs to handle. (as an example, recall the variations in the set of instances for the three greatest common divisor algorithms discussed in the previous section.) if you fail to do this, your algorithm may work correctly for a majority of inputs but crash on some “boundary” value. remember that a correct algorithm is not one that works most of the time, but one that works correctly for all legitimate inputs.
留言板 message board
共条留言  共 页

  • 参与互动
    interaction

  • 扫码加入课程
    scan qr code
教学队伍teaching members
  • 梁军
    讲师/lecturer
    华南师范大学


  • 华南师范大学软件学院

  • 学生
    华南师范大学
需要验证您的身份,请输入请求信息:
  • 学号号:
  • 班级选择:
  • 课程密码:

扫一扫二维码,快速加入本课程!

查看使用方法
课程
引导
网站地图