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
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
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
参考: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
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
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
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
题目:
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
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
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