2015年3月21日

摘要: DescriptionCycle shifting refers to following operation on the sting. Moving first letter to the end and keeping rest part of the string. For example,... 阅读全文

posted @ 2015-03-21 20:05 Maples7 阅读(2078) 评论(2) 推荐(0)

摘要: Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the... 阅读全文

posted @ 2015-03-21 19:37 Maples7 阅读(390) 评论(0) 推荐(0)