码迷,mamicode.com
首页 >  
搜索关键字:could    ( 5457个结果
[leedcode 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?In order to fulfill...
分类:其他好文   时间:2015-07-11 13:35:43    阅读次数:135
Palindrome Linked List
Given a singly linked list, determine if it is a palindrome.Follow up: Could you do it in O(n) time and O(1) space?思路: 把链表一分为二,把右边的一半翻转,再逐个比对左右的链表即可。/** * Definition for singly-linked list. * struc...
分类:其他好文   时间:2015-07-10 23:46:56    阅读次数:388
记 Ubuntu14.04 Monodevelop 安装的两个问题
1. Monodevelop 不能运行,显示错误 The assembly mscorlib.dll was not found or could not be loaded. 首先要确定mono安装完整,这个问题的可能原因是mono安装的路径不对,monodevelop在/usr/local/lib下找不到mono. 解决办法: 用which mono查看mono的安装路...
分类:系统相关   时间:2015-07-10 23:44:58    阅读次数:240
Android APK反编译
参考:http://blog.csdn.net/vipzjyno1/article/details/21039349/(主要) 出现的问题: (1) androidlibException: Could not decode arsc file      http://www.sxrczx.com/pages/www.cnblogs.com/sage-blog/p/4323049.h...
分类:移动开发   时间:2015-07-10 15:18:43    阅读次数:309
Palindrome Linked List
https://leetcode.com/problems/palindrome-linked-list/Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) tim...
分类:其他好文   时间:2015-07-10 13:04:13    阅读次数:66
【LeetCode】234. Palindrome Linked List (2 solutions)
Palindrome Linked ListGiven a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?解法一:一次遍历,装入vec...
分类:其他好文   时间:2015-07-10 12:52:07    阅读次数:93
Leetcode 234 Palindrome Linked List
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?O(n)空间:存成数组后比较class Solution: # @...
分类:其他好文   时间:2015-07-10 10:49:54    阅读次数:101
[LeetCode][Java] Letter Combinations of a Phone Number
题目: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input...
分类:编程语言   时间:2015-07-10 09:41:01    阅读次数:181
[leedcode 36] Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2015-07-10 00:11:40    阅读次数:178
leetCode 36.Valid Sudoku(有效的数独) 解题思路和方法
Valid Sudoku Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A parti...
分类:其他好文   时间:2015-07-09 19:59:01    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!