【题目】
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of...
分类:
其他好文 时间:
2015-01-20 22:21:27
阅读次数:
153
在更新tp框架 3.2.3 时出现错误解决方法如下:修改php.ini文件extension=php_pdo_mysql.dll将前面的分号去掉,问题得到解决解答:“3.2.3数据库类和驱动采用PDO重写了,因此无论是什么数据库都是基于PDO实现的”
分类:
Web程序 时间:
2015-01-20 17:12:48
阅读次数:
418
有的时候,第一次在Ubuntu下安装joomla的时候会出现Could not connect to the database. Connector returned number: The MySQL ada......asdasdfde cuowu的错误,就在刚刚我就遇到了,其实是MySQL和p...
分类:
数据库 时间:
2015-01-20 15:28:52
阅读次数:
531
AfxMessageBox(("click"));错误 error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types 解决方法:AfxMessageBox(_T("click")...
分类:
其他好文 时间:
2015-01-20 15:22:53
阅读次数:
186
一:异常截图
二:我的实体@Entity
@Table(name = "p_user")
public class User extends AbstractEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
//账号
@Column(name = "acco...
分类:
移动开发 时间:
2015-01-20 11:59:59
阅读次数:
156
raised exception class TDBXError with message 'DBX Error: Driver could not be properly initialized. Client library may be missing, not installed prope...
分类:
数据库 时间:
2015-01-19 12:22:29
阅读次数:
1068
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
这题和前面一题的区别...
分类:
编程语言 时间:
2015-01-19 09:17:31
阅读次数:
185
题目:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?代码:oj测试通过Runtime...
分类:
编程语言 时间:
2015-01-18 23:59:42
阅读次数:
467
题目:Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onl...
分类:
编程语言 时间:
2015-01-18 22:30:51
阅读次数:
291
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:
其他好文 时间:
2015-01-18 17:05:52
阅读次数:
261