码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Binary Tree Level Order Traversal II--LeetCode
题目: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For example: Given binary tree {3,9,20,...
分类:其他好文   时间:2015-04-05 11:58:39    阅读次数:111
Unique Paths II -- leetcode
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the ...
分类:其他好文   时间:2015-04-05 09:14:38    阅读次数:113
OSX下brew安装docker(boot2docker)
ruby?-e?"$(curl?-fsSL?https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install brew-cask docker boot2docker brew cask install?virtualbox boot2docker up &&?eval "$(boo...
分类:其他好文   时间:2015-04-05 01:16:46    阅读次数:145
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. click to show follow up. Follow up: Did you use extra space? A straight forward solution using O(m...
分类:其他好文   时间:2015-04-04 23:47:00    阅读次数:163
Two Sum
今天开始,每天一道LeetCode!Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return ind...
分类:其他好文   时间:2015-04-04 16:29:51    阅读次数:108
wxWidgets学习笔记(1) Mac osx 下环境配置
由于最近在学习《Ray Tracing from thee Ground Up》,书中的示例程序是使用wxWidgets这个跨平台图形API写的,故学习了下,记录下来以便复习。 关于wxWidgets的相关消息可以参见官方网站http://www.wxwidgets.org/查看更多信息。(1...
分类:系统相关   时间:2015-04-04 06:31:02    阅读次数:271
LeetCode1 Two Sum **
题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the targ...
分类:其他好文   时间:2015-04-03 21:08:43    阅读次数:158
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 why? Write a function to...
分类:其他好文   时间:2015-04-03 17:20:58    阅读次数:113
【leetcode刷题笔记】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?题解:如果要原地算法的话,就只能用交换...
分类:其他好文   时间:2015-04-03 16:52:32    阅读次数:129
[LeetCode] 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?在计算机图像处理里,旋转图片是很常见的...
分类:其他好文   时间:2015-04-03 13:00:14    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!