• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
厚积薄发
| 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

11 2012 档案

 
CompilerDesign 个人答案 - Ch1
摘要:E 1.1.1:Compilier: translate code from source language to target languageInterpreter: translate code + execution (code + input + interpreter -> output)E1.1.2:Pro of compiler: simpler design; multiple runPro of interpreter: realtime runningE1.1.3:Easier to debug the compilerCan do an extra level o 阅读全文
posted @ 2012-11-25 23:53 songyy 阅读(223) 评论(0) 推荐(0)
算法导论(CLRS, 2nd) 个人答案 Ch34.1
摘要:34.1-1:Assumption: the graph is unweightedLONGEST-PATH-LENGTH ∈P=> LONGEST-PATH∈P:Suppose there's a problem solves LHS in polynomial time, gives result k; then for the problem of RHS, it returns true if the given k' <= k.LONGEST-PATH∈P:=> LONGEST-PATH-LENGTH ∈P:Guess the k to the po 阅读全文
posted @ 2012-11-04 21:09 songyy 阅读(3414) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3