摘要:
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's 阅读全文
posted @ 2017-06-12 13:47
yangykaifa
阅读(140)
评论(0)
推荐(0)
摘要:
ffmpeg部分机器上有花屏的问题 原代码例如以下: while(av_read_frame(formatCtx, &packet)>=0 && !_stop && NULL!=window && bInit) { // Is this a packet from the video stream? 阅读全文
posted @ 2017-06-12 12:47
yangykaifa
阅读(270)
评论(0)
推荐(0)
摘要:
1 工厂方法模式简单介绍 工厂方法 (Factroy Method)模式:又称多态性工厂模式(Polymorphic Factory),在这样的模式中,核心工厂不再是一个详细的类。而是一个抽象工厂,提供详细工厂实现的接口,详细创建产品交由子工厂去做,抽象工厂不涉及不论什么产品被实例化的细节。而不同等 阅读全文
posted @ 2017-06-12 11:18
yangykaifa
阅读(128)
评论(0)
推荐(0)
摘要:
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents 题目链接:http://poj.org/problem?id=2488 欢迎光临天资小屋:http://user.qzone.qq.com/593830943/main Descrip 阅读全文
posted @ 2017-06-12 10:11
yangykaifa
阅读(159)
评论(0)
推荐(0)
摘要:
安装git软件后。有些文件夹里会出现带有?的图标,右键菜单上会有“Git-Sync”或者"Git-Commit"等命令;正常的应该是“Git-Clone” "Git-Create repository"等命令,这个时候,能够把资源管理器的查看文件属性打开。显示隐藏文件。文件夹里的.git隐藏文件就出 阅读全文
posted @ 2017-06-12 09:23
yangykaifa
阅读(4234)
评论(0)
推荐(0)
摘要:
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space 阅读全文
posted @ 2017-06-12 08:40
yangykaifa
阅读(347)
评论(0)
推荐(0)

浙公网安备 33010602011771号