2015年10月27日

【原创】leetCodeOj --- Candy 解题报告

摘要: 题目地址:https://leetcode.com/problems/candy/题目内容:CandyTotal Accepted:43150Total Submissions:203841Difficulty:HardThere areNchildren standing in a line. E... 阅读全文

posted @ 2015-10-27 14:51 shadowmydx'sLab 阅读(268) 评论(0) 推荐(0) 编辑

2015年10月12日

[原创]如何编写多个阻塞队列连接下的多生产者多消费者的Python程序

摘要: 平常在写程序时,往往会遇到一个需求:在程序的多个阶段都会出现阻塞的可能,因此,这多个阶段就需要并发执行。Python的多线程有一个特点,就是不允许从外部结束一个运行中的线程,这给我们编写代码时带来了一定的困难。网上现存的多篇文章,往往都从单个阻塞队列出发来讲多线程,大家都知道然而这并没有什么卵用。本... 阅读全文

posted @ 2015-10-12 22:51 shadowmydx'sLab 阅读(2513) 评论(0) 推荐(0) 编辑

2015年8月30日

【原创】leetCodeOj --- Sliding Window Maximum 解题报告

摘要: 天,这题我已经没有底气高呼“水”了。。。题目的地址:https://leetcode.com/problems/sliding-window-maximum/题目内容:Given an arraynums, there is a sliding window of sizekwhich is mov... 阅读全文

posted @ 2015-08-30 14:41 shadowmydx'sLab 阅读(258) 评论(0) 推荐(0) 编辑

【原创】leetCodeOj --- Binary Tree Right Side View 解题报告

摘要: 二连水题目地址:https://leetcode.com/problems/binary-tree-right-side-view/题目内容:Given a binary tree, imagine yourself standing on therightside of it, return th... 阅读全文

posted @ 2015-08-30 00:38 shadowmydx'sLab 阅读(156) 评论(0) 推荐(0) 编辑

【原创】leetCodeOj --- Binary Search Tree Iterator 解题报告

摘要: 时间挤挤总是有的太久不做题,脑子都生锈了。来道水题练练手题目地址:https://leetcode.com/problems/binary-search-tree-iterator/题目内容:Implement an iterator over a binary search tree (BST).... 阅读全文

posted @ 2015-08-30 00:11 shadowmydx'sLab 阅读(219) 评论(0) 推荐(0) 编辑

2015年3月22日

【原创】poj ----- 2376 Cleaning Shifts 解题报告

摘要: 题目地址:http://poj.org/problem?id=2376题目内容:Cleaning ShiftsTime Limit:1000MSMemory Limit:65536KTotal Submissions:12226Accepted:3187DescriptionFarmer John ... 阅读全文

posted @ 2015-03-22 20:49 shadowmydx'sLab 阅读(190) 评论(0) 推荐(0) 编辑

2015年3月20日

【原创】poj ----- 1182 食物链 解题报告

摘要: 题目地址:http://poj.org/problem?id=1182题目内容:食物链Time Limit:1000MSMemory Limit:10000KTotal Submissions:48791Accepted:14222Description动物王国中有三类动物A,B,C,这三类动物的食... 阅读全文

posted @ 2015-03-20 00:37 shadowmydx'sLab 阅读(281) 评论(0) 推荐(0) 编辑

2015年3月19日

【原创】poj ----- 1611 The Suspects 解题报告

摘要: 题目地址:http://poj.org/problem?id=1611题目内容:The SuspectsTime Limit:1000MSMemory Limit:20000KTotal Submissions:24253Accepted:11868DescriptionSevere acute r... 阅读全文

posted @ 2015-03-19 00:04 shadowmydx'sLab 阅读(172) 评论(0) 推荐(0) 编辑

2015年3月18日

【原创】poj ----- 2524 Ubiquitous Religions 解题报告

摘要: 题目地址:http://poj.org/problem?id=2524题目内容:Ubiquitous ReligionsTime Limit:5000MSMemory Limit:65536KTotal Submissions:26119Accepted:12859DescriptionThere ... 阅读全文

posted @ 2015-03-18 21:54 shadowmydx'sLab 阅读(204) 评论(0) 推荐(0) 编辑

【原创】poj ----- 3009 curling 2 解题报告

摘要: 题目地址:http://poj.org/problem?id=3009题目内容:Curling 2.0Time Limit:1000MSMemory Limit:65536KTotal Submissions:13042Accepted:5478DescriptionOn Planet MM-21,... 阅读全文

posted @ 2015-03-18 00:28 shadowmydx'sLab 阅读(274) 评论(0) 推荐(0) 编辑

导航