05 2016 档案

摘要:Question:Write a function to find the longest common prefix string amongst an array of strings. 问题描述:从一个字符串数组中找出所有字符串的最长前缀。 note:当字符串数组为空时,返回"" LeetCo 阅读全文
posted @ 2016-05-06 21:35 wkx。 阅读(117) 评论(0) 推荐(0)
摘要:question:Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not s 阅读全文
posted @ 2016-05-06 11:11 wkx。 阅读(156) 评论(0) 推荐(0)
摘要:question:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain 阅读全文
posted @ 2016-05-04 07:46 wkx。 阅读(138) 评论(0) 推荐(0)
摘要:question: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文
posted @ 2016-05-03 16:39 wkx。 阅读(168) 评论(0) 推荐(0)