码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
LeetCode: Anagrams 解题报告
AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.思路:建Hashtable,用排序过的string作为ke...
分类:其他好文   时间:2014-11-01 19:00:04    阅读次数:230
Openstack Icehouse neutron vlan 模式下的配置
http://www.server-world.info/en/note?os=Ubuntu_14.04&p=openstack_icehouse&f=16
分类:其他好文   时间:2014-11-01 06:24:35    阅读次数:283
[Leetcode] 3Sum
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen...
分类:其他好文   时间:2014-11-01 06:12:01    阅读次数:214
ZOJ 3647 Gao the Grid(居然是暴力)
A n * m grid as follow: Count the number of triangles, three of whose vertice must be grid-points. Note that the three vertice of the triangle must not be in a line(the right picture is not a...
分类:其他好文   时间:2014-10-31 22:20:02    阅读次数:264
LeetCode Anagrams My solution
Anagrams   Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. public class Solution { public List anagrams(Str...
分类:其他好文   时间:2014-10-31 19:07:14    阅读次数:147
【LeetCode】4Sum 解题报告
【题目】 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: ...
分类:其他好文   时间:2014-10-31 12:02:18    阅读次数:261
LeetCode 117 Populating Next Right Pointers in Each Node II
Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution still work? Note: You may only use constant extr...
分类:其他好文   时间:2014-10-31 10:10:30    阅读次数:202
leetcode Pascal's Triangle II
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:其他好文   时间:2014-10-31 08:47:11    阅读次数:158
Oracle SYS_CONTEXT Function
Version 11.1 Actions As SYS Note:USERENV is an Oracle provided namespace ...
分类:数据库   时间:2014-10-30 22:11:52    阅读次数:381
LeetCode:Single Number(2)
问题描述: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it ...
分类:其他好文   时间:2014-10-30 11:52:50    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!