摘要: Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents... 阅读全文
posted @ 2015-10-14 22:19 Pickle 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents... 阅读全文
posted @ 2015-10-14 21:59 Pickle 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Description:Implement a trie withinsert,search, andstartsWithmethods.Note:You may assume that all inputs are consist of lowercase lettersa-z.实现一个简单的Tr... 阅读全文
posted @ 2015-10-14 11:29 Pickle 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Description:You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove... 阅读全文
posted @ 2015-10-14 10:58 Pickle 阅读(425) 评论(0) 推荐(0) 编辑