hash
文章平均质量分 72
cool_bomb
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
从书中查找某个单词出现的频率
设计算法,找出一本书中任一给定的词汇的频率。 Design a method to find the frequency of occurrences of any given word in a book. 对于只找出一个单词的频率和找出多个单词的频率解法不同。 SOLUTION The first question – which you should ask your i翻译 2013-02-20 20:44:43 · 1512 阅读 · 0 评论 -
找出单词的变位词
假设服务器每次用一个单词pinging我,将这些单词存储在队列中。现在队列中的数据非常庞大,我们只能处理数据一次。给定5个单词,为他们在队列中找出变位词。 suppose i m sitting on a server and several machines are pinging me with a word each and we are storing these words in翻译 2013-05-21 16:42:51 · 789 阅读 · 0 评论
分享