码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
leetcode[95]Unique Binary Search Trees II
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni...
分类:其他好文   时间:2015-02-09 14:03:20    阅读次数:85
Cheatsheet: 2015 01.01~ 01.31
JAVA JVM Architecture Improving Lock Performance in Java 10 Best Java Tools That Every Java Programmers Should Know Web Performance Optimization in AS...
分类:其他好文   时间:2015-02-09 10:43:15    阅读次数:146
LeetCode --- 41. First Missing Positive
题目链接:First Missing Positive Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run...
分类:其他好文   时间:2015-02-09 00:48:51    阅读次数:143
leetcode[172]Factorial Trailing Zeroes
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.给定一个整数n,返回n!(n的阶乘)数字中的后缀0的个数。...
分类:其他好文   时间:2015-02-09 00:37:06    阅读次数:256
Easy Task
You are given n integers. Your task is very easy. You should find the maximum integer a and the minimum integer b among these n integers. And then you should replace both a and bwith a-b. Your task ...
分类:其他好文   时间:2015-02-08 15:34:12    阅读次数:165
[LeetCode] Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor...
分类:其他好文   时间:2015-02-08 11:33:15    阅读次数:152
[LeetCode]172.Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity....
分类:其他好文   时间:2015-02-07 21:45:08    阅读次数:273
【leetcode】Spiral Matrix II
Spiral Matrix IIGiven an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example,Given n = 3,You should ret...
分类:其他好文   时间:2015-02-07 17:14:43    阅读次数:82
LeetCode 024 Swap Nodes in Pairs
题目描述:Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list...
分类:其他好文   时间:2015-02-07 17:11:34    阅读次数:105
Leetcode:Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2015-02-07 16:02:00    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!