码迷,mamicode.com
首页 >  
搜索关键字:follow    ( 4585个结果
48.Rotate Image
You are given an n x n 2D matrixrepresenting an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? HideTags  Array #pragma once #include #include using n...
分类:其他好文   时间:2015-02-12 22:52:50    阅读次数:157
eclipse 调试子进程
under the directory of the project, create file .gdbinitwrite the "set follow-fork-mode child"then you can debug the child process
分类:系统相关   时间:2015-02-11 10:47:42    阅读次数:234
leetcode[48]Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?class Solution {pub...
分类:其他好文   时间:2015-02-10 14:52:59    阅读次数:111
Sorting
This webpage covers the space and time Big-O complexities of sorting algorithms used in Computer Science.Follow: sorting of big O实用的算法可视化工具:WIn32 Linu...
分类:其他好文   时间:2015-02-09 18:14:07    阅读次数:164
leetcode[73]Set Matrix Zeroes
Given amxnmatrix, 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 space?A s...
分类:其他好文   时间:2015-02-09 15:40:55    阅读次数:176
LeetCode Set Matrix Zeroes
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up:Did you use extra space?A straight forward solution using O(mn) space is probably a bad idea.A si...
分类:其他好文   时间:2015-02-09 12:53:24    阅读次数:217
leetcode------Set Matrix Zeroes
标题:Set Matrix Zeroes通过率:31.3%难度:中等Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Fol...
分类:其他好文   时间:2015-02-09 12:43:33    阅读次数:108
leetcode_81_Search in Rotated Sorted Array II
欢迎转载,如有错误或疑问请留言纠正,谢谢 Search in Rotated Sorted Array II  Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and w...
分类:其他好文   时间:2015-02-08 18:16:36    阅读次数:199
Airbnb电面面经
Airbnb电面风格是要求代码写完了能够编译,然后自己写测试用例并跑过。感觉这样的好处是的确很考察代码功力,那种当场一次bug free,然后跑几个测试用例全过的感觉很爽。不好的地方是容易增加变数,因为即使自己本身水平不变,不同时候发挥略有差异,检查一两个bug用的时间可能就没机会做后面的follow up了。 第一轮考察分页显示功能的实现。给了以下一些输入数据,要求将以下行分页显示,每...
分类:其他好文   时间:2015-02-08 06:48:13    阅读次数:295
LeetCode 048 Rotate Image
题目要求:Rotate ImageYou are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?代码...
分类:其他好文   时间:2015-02-07 21:32:30    阅读次数:204
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!