码迷,mamicode.com
首页 >  
搜索关键字:turn the corner    ( 27676个结果
LeetCode-Range Sum Query 2D - Immutable
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2 ...
分类:其他好文   时间:2016-08-16 16:03:38    阅读次数:163
Pow(x, n)
Implement pow(x, n). Analyse: Be aware of corner cases. For exmaple, x = 0, n = 0, n = 1, and n < 0. Note the highlited area, if n == INT_MIN, we have ...
分类:其他好文   时间:2016-08-10 00:51:29    阅读次数:133
iOS上绘制自然的签名-b
这里有一篇很棒的文章写如何在Android上获取流畅的签名:Smoother Signatures:https://corner.squareup.com/2012/07/smoother-signatures.html,但是我没有找到一篇是写在iOS上如何实现。那么,究竟怎么做才能在iOS设备上获 ...
分类:移动开发   时间:2016-08-10 00:42:36    阅读次数:476
turn.js 图书翻页效果
今天用turn.js 做图书的翻页效果遇到问题: 图片路径总是出错 调了一天,总算调出来了 我用的thinkphp,其他的不知道是不是一样 两个地方要改动: 1.后台查出地址 注意的地方:1.地址要完全的 2.js要用json格式的数据 2.前台js形成需要的json数据往方法传 3.magazin ...
分类:Web程序   时间:2016-08-09 20:33:18    阅读次数:165
LeetCode: 344. Reverse String
Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 题目大意就是给一个字符串,得到倒序字符串 corner ...
分类:其他好文   时间:2016-08-09 13:41:17    阅读次数:151
Range Sum Query 2D - Mutable & Immutable
Range Sum Query 2D - Mutable Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) ...
分类:其他好文   时间:2016-08-07 00:47:50    阅读次数:263
Bulb Switcher
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every ...
分类:其他好文   时间:2016-08-06 23:19:21    阅读次数:162
leetcode No71. Simplify Path
Question: Given an absolute path for a file (Unix-style), simplify it. For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" Corner Cases: Did you consider the cas...
分类:其他好文   时间:2016-08-03 18:47:11    阅读次数:122
Bulb Switcher
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every ...
分类:其他好文   时间:2016-08-03 06:44:34    阅读次数:193
leetcode No62. Unique Paths
Question: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying ...
分类:其他好文   时间:2016-08-02 21:10:12    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!