摘要:
Given a list of words and two wordsword1andword2, return the shortest distance between these two words in the list.For example,Assume that words =["pr... 阅读全文
posted @ 2015-09-23 01:13
茜茜的技术空间
阅读(295)
评论(0)
推荐(0)
摘要:
Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements.For example, givenn... 阅读全文
posted @ 2015-09-23 00:46
茜茜的技术空间
阅读(230)
评论(0)
推荐(0)
摘要:
Given a string, determine if a permutation of the string could form a palindrome.For example,"code"-> False,"aab"-> True,"carerac"-> True.Hint:Conside... 阅读全文
posted @ 2015-09-23 00:23
茜茜的技术空间
阅读(260)
评论(0)
推荐(0)

浙公网安备 33010602011771号