鱼儿慢慢游~~

导航

 

2016年5月10日

摘要: 原问题描述: 难度: 中等 Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements o 阅读全文
posted @ 2016-05-10 16:26 miss_UU 阅读(136) 评论(0) 推荐(0) 编辑
 
摘要: http://blog.codinglabs.org/articles/consistent-hashing.html 在分布式缓存系统中, 如何把数据映射到不同的缓存服务器上,一般会采用hash算法,如共有3台缓存服务器时, h= Hash(key)%3, 这种hash算法的扩展性和容错性不好,当 阅读全文
posted @ 2016-05-10 14:52 miss_UU 阅读(334) 评论(0) 推荐(0) 编辑