Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 578 Bytes

lab1_SolveStep.md

File metadata and controls

26 lines (21 loc) · 578 Bytes

Lab1

明确问题

  1. Write code for insertion sort.
  2. Write code for merge sort.
  3. Write code for improved version of sorting algorithm which combines merge sort with insertion sort.
  4. Argue the 3rd sorting algorithm runs in O(f(n, k)) expected time.
  5. What is f(n, k) and how should k be picked, both in theory and in practice by experiments?

工具

  1. 算法
  2. 运行计时
  3. 数学公式编辑

解决

  1. 完成
  • merge
  • insert
  • combine
  1. 计算理论实践
  2. 测试实际实践
  3. 整理为文档
  4. 打包提交

对比C与C++