网上说了一些jsonp的示例,感觉都没用,最后研究了一下,调用腾讯的一个api。最后要加output=jsonp&callback=?这个,比较适用。 var url = "http://apis.map.qq.com/ws/place/v1/search?boundary=nearby(39.90...
分类:
Web程序 时间:
2014-08-07 18:19:00
阅读次数:
220
Given a binary tree, flatten it to a linked list in-place.For example, Given 1 / \ 2 5 / \ \ 3 4 6The flattened ...
分类:
其他好文 时间:
2014-08-04 16:59:37
阅读次数:
246
题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra s....
分类:
编程语言 时间:
2014-08-03 07:49:44
阅读次数:
193
Description
Georgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right by 1, 2, 3, ..., and place N chessmen on different grid...
分类:
其他好文 时间:
2014-08-02 12:56:13
阅读次数:
312
题目:You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?题解:这道题就是考察很....
分类:
编程语言 时间:
2014-08-02 10:02:03
阅读次数:
261
HDU 3215 The first place of 2^n (数论-水题)
题目大意“:
妈呀,这是我们大东华09年出的题啊,好厉害,其实是好水啊。
题目大意就是计算2^1到2^n这n个数首位为1的次数,2的次数,...9的次数。
解题思路:
我是不会告诉你log10一下就会找到你想要的东西的。...
分类:
其他好文 时间:
2014-08-01 16:17:42
阅读次数:
222
Introduction with Jenkins iOSIf you are new to continuous integration for mobile platforms then you are in the right place. This article will explain ...
分类:
移动开发 时间:
2014-08-01 15:51:01
阅读次数:
538
Description
At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcements are po...
分类:
其他好文 时间:
2014-08-01 10:54:34
阅读次数:
209
LeetCode: Reorder List Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering ...
分类:
其他好文 时间:
2014-08-01 10:41:51
阅读次数:
224
一、Flash文件系统设计思路为flash 设计的文件系统要求异地更新(out-of-place update)。这是因为flash 在写之前必须要先擦除,且再次擦除之前只能写一次。如果擦除块(eraseblocks)很小且可以快速擦除,那么可以将它们看作磁盘扇区(disk sector),但是实际...
分类:
其他好文 时间:
2014-08-01 10:32:41
阅读次数:
344