码迷,mamicode.com
首页 >  
搜索关键字:can-t    ( 23056个结果
LeetCode OJ - Linked List Cycle
题目: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space?解题思路: 使用快慢指针,快指针每次走两步,慢指针每次走一步...
分类:其他好文   时间:2014-05-16 05:19:21    阅读次数:271
LeetCode OJ - 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 extr...
分类:其他好文   时间:2014-05-16 04:50:13    阅读次数:329
CareerCup之1.6 Rotate Image
【题目】 原文: 1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? 译文: 一张图像表示...
分类:其他好文   时间:2014-05-15 05:43:35    阅读次数:240
asp.net设置默认打开页面,Web.config,defaultDocument
The web.config file can be used to set a default document, or list of default documents for your website. Web.config can be used to change the defau.....
分类:Web程序   时间:2014-05-15 02:21:15    阅读次数:448
Leetcode:Climbing Stairs 斐波那契数
戳我去解题You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you ...
分类:其他好文   时间:2014-05-15 01:55:06    阅读次数:251
POJ 1002 487-3279
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit...
分类:其他好文   时间:2014-05-15 00:20:39    阅读次数:332
【LeetCode】Linked List Cycle
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?做完Linked List Cycle II在做这...
分类:其他好文   时间:2014-05-14 23:30:00    阅读次数:399
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-05-14 23:11:14    阅读次数:398
解决postgis中.shp格式导入到postgis中.dbf can not be opened的问题
按要求装了postgreSQL 9.3,之前装个9.2.数据库出错了,选择了9.3版本。然后通过Application stack bulider装了 postgis 2.1。装的时候选择了创建一个空的数据库,但屡屡安装失败,取消之后安装成功。     配置了数据库的参数后,选择要导入的.shp文件,更改SRID,这里其实SRID我不太了解,因为每个SRID对应的都对应EPGS编码,打开prj文...
分类:数据库   时间:2014-05-14 14:23:55    阅读次数:1219
Observer Pattern
MotivationWe can not talk about Object Oriented Programming without considering the state of the objects. After all object oriented programming is abo...
分类:其他好文   时间:2014-05-14 10:51:18    阅读次数:354
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!