摘要: Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i... 阅读全文
posted @ 2014-10-17 19:26 supernigel 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Write a function to find the longest common prefix string amongst an array of strings.这个很简单,看代码便知// LongestCommonPrefix.cpp : 定义控制台应用程序的入口点。//#include... 阅读全文
posted @ 2014-10-17 18:52 supernigel 阅读(116) 评论(0) 推荐(0) 编辑