码迷,mamicode.com
首页 >  
搜索关键字:its    ( 9997个结果
[LeetCode] Two Sum
The basic idea is to maintain a hash table for each elementnuminnums, usingnumas key and its index (1-based) as value. For eachnum, search fortarget -...
分类:其他好文   时间:2015-08-15 13:15:53    阅读次数:204
hdu 1679 The Unique MST (克鲁斯卡尔)
The Unique MST Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 24152   Accepted: 8587 Description Given a connected undirected graph, tell if its minimum spa...
分类:其他好文   时间:2015-08-15 01:36:53    阅读次数:209
poj 1947 Rebuilding Roads 【树形DP】 【求至少删去树中 多少条边 使得树中节点数为P】
Rebuilding Roads Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10066   Accepted: 4595 Description The cows have reconstructed Farmer John's farm, with its ...
分类:其他好文   时间:2015-08-15 00:13:53    阅读次数:320
hdu 4585 Shaolin(STL map)
Problem DescriptionShaolin temple is very famous for its Kongfu monks.A lot of young men go to Shaolin temple every year, trying to be a monk there. T...
分类:其他好文   时间:2015-08-14 21:16:40    阅读次数:159
LeetCode-Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,20,#,#,15,7}, 3 / 9 20...
分类:其他好文   时间:2015-08-14 19:11:16    阅读次数:88
leetcode:Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the...
分类:其他好文   时间:2015-08-14 17:06:51    阅读次数:125
CF-gym-100523-C(水题)
Will It Stop?Available memory: 64 MB. Byteasar was wandering around the library of the University of Warsaw and at one of its facades he noticed a pie...
分类:其他好文   时间:2015-08-14 13:25:13    阅读次数:128
LeetCode104:Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. Show Tags Show Similar Proble...
分类:其他好文   时间:2015-08-14 01:11:52    阅读次数:136
JDK容器 Vector源码剖析
/* * %W% %E% * * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.util; /** * The {@co...
分类:其他好文   时间:2015-08-14 01:10:03    阅读次数:118
LeetCode(171) Excel Sheet Column Number
题目Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example:A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB -> 28 .....
分类:其他好文   时间:2015-08-13 22:13:00    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!