[公开课] CS61B打卡(Spring2018) 第二部分week7-14:Data Structures and Algorithms

资源

Spring 2018: https://sp18.datastructur.es


by “Disjoint Sets”, you should finish Project 2, Phase 2, and everything before.
Project 1: Gold
HW 1
2 Labs
Project 2, Phase 1

作业中做错的地方:
  • disc02: Scope; Pass-by-Value; Static:

笔记
  • Week 7 (2/26 - 3/2) : Asymptotics I, II, III

    • Asymptotics 1: Writing Efficient Programs
      • Efficiency comes in two flavors:
        • Programming cost (course to date).
          • How long does it take to develop your programs?
          • How easy is it to read, modify, and maintain your code?
            • More important than you might think!
            • Majority of cost is in maintenance, not development!
        • Execution cost (from today to the end of the course)/
          • How much time does your program take to execute?
          • How much memory does your program require?
    • Asymptotics 1: Characterization 1 Clock Time
      • How Do I Runtime Characterization?
        • Our goal is to somehow characterize the runtimes of the functions below
          • Characterization should be simple and mathematically rigorous.
          • Characterization should demonstrate superiority
    • Asymptotics 1: Techniques for Measuring Computation Cost
      • Technique 1: Measuring execution time. (however, may require large amounts of computation time. Result varies with machine, compiler, input data, etc)
    • Asymptotics 1: Technique 2: Operation Counting (symbolic count)
    • Asymptotics 1: Why Scaling Matters?
      • Asymptotic Behavior
      • Parabolas vs. Lines
    • Asymptotics 1: Worst Case Orders of Growth
      • Duplicate Finding: Our goal is to somehow characterize the runtimes of the functions below.
    • Asymptotics 1: Simplified Analysis
      • Analysis of Nested For Loops
    • Asymptotics 1: Big-Theta
      • belongs to big theta with N to the 4th (big-theta(N^4))
      • Big-Theta: Formal Definition: R(N)
    • Asymptotics 2: Simple Nested Loops in Big-Theta
    • Asymptotics 2: Nested For Loops in Big-Theta with Geometric Outer Loop
      public 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值