码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-06-04 19:10:54    阅读次数:240
Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2014-06-04 19:10:16    阅读次数:155
Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECODEBA...
分类:Windows程序   时间:2014-06-04 19:07:31    阅读次数:385
Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note: Elements in a subset must be in non-descending o...
分类:其他好文   时间:2014-06-04 18:37:55    阅读次数:322
用中点Bresenham画直线算法绘制任意斜率直线
使用VC 6.0 mfc实现编程刚学的图像学,挺难学的,show 代码吧void CLineView::OnDraw(CDC* pDC) { CLineDoc* pDoc = GetDocument();ASSERT_VALID(pDoc);// TODO: add draw code for na...
分类:其他好文   时间:2014-06-04 18:15:36    阅读次数:627
Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-06-03 14:12:24    阅读次数:306
Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:其他好文   时间:2014-06-03 14:06:24    阅读次数:271
windbg 经典死锁调试
代码// Deadlock_Debug.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "windows.h"#include // All the thread must get all of critial_section// Classic ...
分类:数据库   时间:2014-06-03 12:08:01    阅读次数:354
串 --- 匹配
All in AllTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 27295Accepted: 11162DescriptionYou have devised a new encryption technique which en...
分类:其他好文   时间:2014-06-03 12:03:57    阅读次数:233
poj 1011 Sticks
DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:其他好文   时间:2014-05-30 23:00:32    阅读次数:395
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!