码迷,mamicode.com
首页 >  
搜索关键字:follow    ( 4585个结果
leetcode || 48、Rotate Image
problem: 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? Hide Tags  Array 题意:将一个矩阵顺时针旋...
分类:其他好文   时间:2015-03-30 18:51:18    阅读次数:86
[Leetcode][Python]52: N-Queens II
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'52: N-Queens IIhttps://oj.leetcode.com/problems/n-queens-ii/Follow up for N-Queens problem...
分类:编程语言   时间:2015-03-27 23:52:53    阅读次数:409
Q3: Linked List Cycle II
问题描述Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space...
分类:其他好文   时间:2015-03-21 15:32:34    阅读次数:155
LeetCode --- 73. Set Matrix Zeroes
题目链接: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) spa...
分类:其他好文   时间:2015-03-20 22:00:08    阅读次数:135
【leetcode】Search in Rotated Sorted Array II(middle)☆
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他好文   时间:2015-03-20 20:04:57    阅读次数:103
[LeetCode] Unique Paths II 不同的路径之二
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 i...
分类:其他好文   时间:2015-03-20 15:58:44    阅读次数:116
收不到OCP纸质证书如何申请重发
To request a printed certificate, you are required to log onto your CertView Profile and confirm your personal or office mailing address. We request you to follow below steps to submit the online req...
分类:其他好文   时间:2015-03-20 11:01:31    阅读次数:205
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? #include #include #include using namespace std; //先...
分类:其他好文   时间:2015-03-19 10:13:41    阅读次数:107
Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra space?这道...
分类:其他好文   时间:2015-03-18 23:06:39    阅读次数:122
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?[Solution] 1 void r...
分类:其他好文   时间:2015-03-18 20:09:22    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!