20162314 2017-2018-1 《Program Design & Data Structures》Learning Summary Of The First Week

Summary of teaching materials

  • Algorithm analysis is the basic project of the computer science.

  • Increasing function prove that the utilization of the time and space are related with the scale of the problem.

  • The order of algorithm is determined by the main term of increasing function.

  • The order of algorithm provides an upper bound to a increasing function.

  • Faster CPU can not supply the ineffective of an algorithm as the scale of the problem growing.

  • Analysing the complexity of an algorithm often needs analysing the execution of the loop.

  • The execution of the inner loop and the outer loop must be considered when analysing a nested loop.

  • Tower of Hanoi contains the complexity of the order of index number,even though it is ineffective,the implement is elegant and concise.

Problem and solution in learning materials of teaching.

According to the chart, if the time complexity of A4 is n^4, the scale after improvement should be 1.78s4. But the answer is s4+3.3, due to the log2(10)≈3.3
so I suppose the answer could be s4+log2(10), and if so, the time complexity is 2^n. The question is solved.

Problem and solution in debugging code.

problem: In TowersOfHanoi conductor, whether the time will increase or not when the number of disk rise.

  • Number of disk:4.

  • Number of disk:5.

The answer is yes, time rises from 1s 124ms to 1s 160ms.

problem: what is the distingguish between direct recursion and indirect recursion and How to use it .

If the current location is not the bottom-right corner, we search for a solution in each of the primary directions, if necessary.
First, we look down by recursively calling the traverse method and passing in the new location.
The logic of the traverse method starts all over again using this new position. It’s as if each call
to traverse is attempting to solve a new, slightly smaller, maze.
---from the teaching materials.

Code hosting

Summary of error for last week.

Evaluate for my partner

  • Advantage and problem in the blog:

    • Concise and comprehensie
    • Uncleary to the content
    • Mould is amazing
  • Advantage and problem in the code:
    • Serious writing.
    • Wonderful idea
    • Too less

Learning situation of partner

  • 20162310

  • Learning content of partner:
    • Algorithm
    • Recursion
    • HanoiTowers and maze

Anything else that want to say

Recently, I'm preparing for the CATTI and I thought I've never written blog in English before.Therefore, I suppose I could do it once a week as the homework weekly.
I have to say it's a hard work to start with.But it might be benefit for me if I can take this as a long run.

Academic progress check

Code line number(increasing/accumulative) Blog number(inc/acc) studying time(inc/acc) progress
target 5000lines 30articles 400hours
First week 180/180 1/1 20/20
Second week 300/500 2/4 18/38
Third week 500/1000 3/7 22/60
Fourth week 300/1300 2/9 30/90

尝试一下记录「计划学习时间」和「实际学习时间」,到期末看看能不能改进自己的计划能力。这个工作学习中很重要,也很有用。
耗时估计的公式
:Y=X+X/N ,Y=X-X/N,训练次数多了,X、Y就接近了。

参考:软件工程软件的估计为什么这么难,软件工程 估计方法

  • 计划学习时间:XX小时

  • 实际学习时间:XX小时

  • 改进情况:

(有空多看看现代软件工程 课件
软件工程师能力自我评价表)

参考资料

  • 《Java程序设计与数据结构教程(第二版)》

  • 《Java程序设计与数据结构教程(第二版)》学习指导
  • ...

转载于:https://www.cnblogs.com/CS162314/p/7496763.html

20162314 《Program Design Data Structures》Learning Summary Of The First Week相关推荐

  1. 【Python学习笔记】Coursera课程《Python Data Structures》 密歇根大学 Charles Severance——Week6 Tuple课堂笔记...

    Coursera课程<Python Data Structures> 密歇根大学 Charles Severance Week6 Tuple 10 Tuples 10.1 Tuples A ...

  2. 数据结构头文件《Fundamentals of Data Structures in C (2nd Edition) 》/严蔚敏版《数据结构》

    #ifndef _PUBLIC_H_ #define _PUBLIC_H_#include <malloc.h>//动态分配储存空间 #include <stdlib.h> # ...

  3. 数据分析---《Python for Data Analysis》学习笔记【04】

    <Python for Data Analysis>一书由Wes Mckinney所著,中文译名是<利用Python进行数据分析>.这里记录一下学习过程,其中有些方法和书中不同 ...

  4. 《Advanced Data Structures》读书笔记

    1.基础数据结构 1.1.栈 1.2.队列 1.3 双端队列 1.4.动态分配节点 1.5.数组类的"阴影拷贝" 2.搜索树 3.平衡搜索树 4.区间集合 5.堆 6.并查集 7. ...

  5. Chisel 教程翻译 之 第一章:概述介绍《Digital Design with Chisel》

    1 Introduction 1 入门 This book is an introduction to digital system design using a modern hardware co ...

  6. 《Python for Data Analysis》之 Series

    pandas的主要数据结构:Series Pandas所能满足的需求: 具备按轴自动或显式数据对齐功能的数据结构.这可以防止许多由于数据未对齐以及来自不同数据源(索引方式不同)的数据而导致的常见错误. ...

  7. 玩转Python大数据分析 《Python for Data Analysis》的读书笔记-第05页

    matplotlab matplotlib类似于matlab软件,是Python下的2维数据可视化软件,集成在了Python的IPython里了.用matplotlib画的图表具有很强的交互性,可用工 ...

  8. 玩转Python大数据分析 《Python for Data Analysis》的读书笔记-第08页

    在安装了EPD学习环境后读者需要安装Pandas,读者可以从pypi.python.org/pypi/pandas页面下在pandas安装包,(https://pypi.python.org/pack ...

  9. 《Motion Design for iOS》(一)

    在2013年六月,苹果推出了iOS 7,并与iOS 6大相径庭,让设计师回归本初.曾经代表漂亮iOS设计的现实主义拟物化离去了,而一个更加平面.光滑,更加"计算机真实"的美学到来了 ...

最新文章

  1. 如何正确连接数据库???
  2. 2018湖北计算机准考证打印,2018年3月湖北计算机等级考试准考证打印入口
  3. 挑战JavaScript正则表达式每日两题(2)
  4. ●BZOJ 2669 [cqoi2012]局部极小值
  5. python变量如何使用,python如何使用变量
  6. java的算法库_利用Java写开源库 覆盖70多种推荐算法
  7. 单片机复位电路电容一定用电解电容_什么叫51单片机最小系统
  8. 勾股定理的形象拆分法,原来数学可以这么好玩!
  9. QZEZ第一届“饭吉圆”杯程序设计竞赛
  10. Spring AOP 代理模式
  11. 可缺一台洗衣机的ykcchf
  12. java bcd码_java中BCD编码
  13. MFC 教程【5_MFC对象的创建】
  14. mysql半同步模式_MySQL 半同步复制模式的实现
  15. 如何解决chm类型的文件在Windows操作系统中无法打开
  16. CAD迷你画图2019破解补丁|CAD迷你画图2019r3注册机下载
  17. 小白学PCB(一):画一块LM2596降压板,稳定输出5V(选择什么软件画,如何打板)
  18. python pip安装报错_基于windows下pip安装python模块时报错总结
  19. 数据库设计遵循的原则
  20. jit java同步消除_聊聊JIT是如何影响JVM性能的

热门文章

  1. 【CodeForces - 144D】Missile Silos(单源最短路,枚举中间边,枚举情况可能性)
  2. 3.1)深度学习笔记:机器学习策略(1)
  3. 5.Underfitting and Overfitting
  4. 计算机专业需要汇编语言,重点大学计算机专业系列教材·汇编语言程序设计
  5. go-mysql查询单条数据_Golang 从 MySQL 数据库读取一条数据
  6. centos 6.5 apache mysql php_CentOS 6.5系统安装配置LAMP(Apache+PHP5+MySQL)服务器环境
  7. 计算机专业用锐龙笔记本,轻松应对工作挑战——ThinkPad T14 锐龙版,适合办公的笔记本电脑...
  8. Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool/BasePoolableObjectFactory
  9. Maven配置nexus
  10. leetcode1491. 工资平均值 这也叫题?也太简单了吧