码迷,mamicode.com
首页 >  
搜索关键字:without    ( 3201个结果
Leetcode :: Single Number II
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 without u...
分类:其他好文   时间:2014-08-05 22:35:00    阅读次数:277
HTML5学习之画布和SVG(四)
alternative content for browsers without canvas support
分类:Web程序   时间:2014-08-05 13:41:29    阅读次数:252
Recover Binary Search Tree leetcode java
题目:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space....
分类:编程语言   时间:2014-08-05 05:17:28    阅读次数:265
Leetcode--Divide Two Integers
Problem Description: Divide two integers without using multiplication, division and mod operator. 分析:题目意思很容易理解,就是不用乘除法和模运算求来做除法,很容易想到的一个方法是一直做减法,然后计数,但是提交之后显示超时,在网上找到一种解法,利用位运算,意思是任何一个整数可以表示成以2的幂为...
分类:其他好文   时间:2014-08-04 21:33:28    阅读次数:307
Palindrome Number leetcode java
题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes....
分类:编程语言   时间:2014-08-04 04:09:56    阅读次数:339
LeetCode 第三题,Longest Substring Without Repeating Characters
题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3....
分类:其他好文   时间:2014-08-03 23:29:46    阅读次数:283
安装postgreSQL出现configure:error:readline library not found解决方法
要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能。#yum install readline;#yum install readline-dev;readline 也就是命令行编辑,关闭的话,你直接用ps...
分类:数据库   时间:2014-08-03 20:22:15    阅读次数:424
[LeetCode 题解]: Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?题意:...
分类:其他好文   时间:2014-08-02 20:52:54    阅读次数:246
Single Number II
Single Number II 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 without using extra memory?...
分类:其他好文   时间:2014-08-02 12:53:53    阅读次数:289
Linked List Cycle
Linked List Cycle  Total Accepted: 24397 Total Submissions: 68598My Submissions Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra sp...
分类:其他好文   时间:2014-08-01 19:52:42    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!