错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Recursion

  • Paolo Ferragina,
  • Fabrizio Luccio

摘要

We introduce the recursive paradigm and revise some of the problems discussed in the previous chapters, giving new recursive algorithms for them. To understand the profound meaning of the paradigm, the classic Tower of Hanoi problem is studied in some detail proving upper and lower bounds on its computational cost. Finally, we discuss when and how the recursive approach is beneficial, showing that an inappropriate application of the paradigm may lead to serious negative consequences.