上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页
  2015年11月27日
摘要: c++ primer 6 语句 阅读全文
posted @ 2015-11-27 20:55 已停更 阅读(165) 评论(0) 推荐(0)
摘要: c++ primer 5 表达式 阅读全文
posted @ 2015-11-27 16:52 已停更 阅读(196) 评论(0) 推荐(0)
摘要: c++ primer 3 数组和指针 阅读全文
posted @ 2015-11-27 16:20 已停更 阅读(339) 评论(0) 推荐(0)
摘要: 题目:Given an array where elements are sorted in ascending order, convert it to a height balanced BST.把有序数组转化为二叉搜索树解析:不会做,看了答案感觉思想很简单,就是将数组中中间的数字当成跟,左子树... 阅读全文
posted @ 2015-11-27 14:44 已停更 阅读(206) 评论(0) 推荐(0)
摘要: 题目:Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, r... 阅读全文
posted @ 2015-11-27 10:57 已停更 阅读(199) 评论(0) 推荐(0)
  2015年11月26日
摘要: c++ primer 3 标准库类型 阅读全文
posted @ 2015-11-26 15:57 已停更 阅读(283) 评论(0) 推荐(0)
  2015年11月24日
摘要: 1 OpenMAX IL介绍与其体系这一部分的文档描述 OpenMAX IL的特性与体系。1.1 OpenMAX IL 简述OpenMAX IL 软件接口层定义了一套API,用于访问系统中的组件。OpenMAX IL软件层的目的:可以对系统中的组件采用不同的初始化值和不同的命令集合;同时还能提供一套... 阅读全文
posted @ 2015-11-24 14:51 已停更 阅读(1191) 评论(0) 推荐(0)
  2015年11月23日
摘要: 参考《大话数据结构》 P135 KMP算法用于字符串匹配,kmp算法完成的任务是:给定两个字符串O和f,长度分别为n和m,判断f是否在O中出现,如果出现则返回出现的位置。常规方法是遍历a的每一个位置,然后从该位置开始和b进行匹配,但是这种方法的复杂度是O(nm)。kmp算法通过一个O(m)的预处理, 阅读全文
posted @ 2015-11-23 15:37 已停更 阅读(2518) 评论(0) 推荐(0)
  2015年11月20日
摘要: 题目:You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl... 阅读全文
posted @ 2015-11-20 09:18 已停更 阅读(162) 评论(0) 推荐(0)
  2015年11月17日
摘要: 题目:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[−2,1,−3,4,−1,2... 阅读全文
posted @ 2015-11-17 09:22 已停更 阅读(230) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页