码迷,mamicode.com
首页 >  
搜索关键字:in-place    ( 1961个结果
Reverse Voltage Protection
Reverse Voltage ProtectionReverse Voltage ProtectionI've long wanted to pull together some reverse polarity protection ideas in one place. Many are fo...
分类:其他好文   时间:2015-09-05 17:40:25    阅读次数:400
[leetcode] Rotate Image
描述: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?分析:先将矩阵转置,然后...
分类:其他好文   时间:2015-09-04 16:55:05    阅读次数:147
__NSAutoreleaseNoPool(): ... utoreleased with no pool in place - just leaking
__NSAutoreleaseNoPool(): ... utoreleased with no pool in place - just leaking我的平台 mac os 10.6Xcode3.2.6编译时出的问题 2013-12-02 21:52:33.177 UniworkC[16...
分类:其他好文   时间:2015-09-04 14:15:51    阅读次数:173
Recover Rotated Sorted Array
Given a rotated sorted array, recover it to sorted array in-place.Have you met this question in a real interview?YesWhich company asked you this quest...
分类:其他好文   时间:2015-09-03 06:59:24    阅读次数:161
Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:其他好文   时间:2015-09-02 01:59:19    阅读次数:144
LeetCode -- House Robber II
Note:This is an extension ofHouse Robber.After robbing those houses on that street, the thief has found himself a new place for his thievery so that h...
分类:其他好文   时间:2015-09-02 00:18:41    阅读次数:200
*[?]Flatten Binary Tree to Linked List
Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:其他好文   时间:2015-09-01 08:00:49    阅读次数:113
LeetCode(48)Rotate Image
题目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?分析本地使得二维矩阵,旋转90角度。通过实际数据分析,通过两个步骤的元素交换可实现目标: 按照主对角线,将对称元素交换 按照...
分类:其他好文   时间:2015-08-31 21:43:04    阅读次数:137
Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:其他好文   时间:2015-08-30 12:35:22    阅读次数:134
LintCode "Partition Array by Odd and Even"
One pass in-place solution: all swaps.class Solution {public: /** * @param nums: a vector of integers * @return: nothing */ void partit...
分类:其他好文   时间:2015-08-29 15:20:27    阅读次数:162
1961条   上一页 1 ... 96 97 98 99 100 ... 197 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!