摘要: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? 阅读全文
posted @ 2014-05-21 16:56 Jelly_ 阅读(163) 评论(0) 推荐(0)
摘要: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". 阅读全文
posted @ 2014-05-21 16:07 Jelly_ 阅读(203) 评论(0) 推荐(0)